public final class DatabaseException extends PageExceptionImpl
Constructor and Description |
---|
DatabaseException(SQLException sqle,
DatasourceConnection dc) |
DatabaseException(SQLException sqle,
SQL sql,
DatasourceConnection dc)
Constructor of the class
|
DatabaseException(String message,
String detail,
SQL sql,
DatasourceConnection dc) |
Modifier and Type | Method and Description |
---|---|
CatchBlock |
getCatchBlock(Config config)
Constructor of the class
|
static DatabaseException |
notFoundException(PageContext pc,
String datasource) |
addContext, getAddional, getAdditional, getCatchBlock, getCatchBlock, getCustomTypeAsString, getDetail, getErrorBlock, getErrorCode, getExposeMessage, getExtendedInfo, getLine, getPageDeep, getRootCause, getStackTrace, getStackTraceAsString, getStackTraceAsString, getTagContext, getTagContext, getTracePointer, getType, getTypeAsString, printStackTrace, printStackTrace, printStackTrace, printStackTrace, printStackTrace, printStackTrace, setAdditional, setDetail, setErrorCode, setExposeMessage, setExtendedInfo, setTracePointer, toDumpData, toString, typeEqual
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getSuppressed, initCause, setStackTrace, toString
public DatabaseException(SQLException sqle, DatasourceConnection dc)
public DatabaseException(String message, String detail, SQL sql, DatasourceConnection dc)
public DatabaseException(SQLException sqle, SQL sql, DatasourceConnection dc)
sqle
- sql
- public CatchBlock getCatchBlock(Config config)
getCatchBlock
in interface IPageException
getCatchBlock
in class PageExceptionImpl
sqle
- public static DatabaseException notFoundException(PageContext pc, String datasource)
Copyright © 2015 Lucee