public final class ExceptonImpl extends Object implements Excepton
TYPE_ABORT, TYPE_ABORT_EXP, TYPE_APPLICATION_EXP, TYPE_CASTER_EXP, TYPE_CUSTOM_TYPE_EXP, TYPE_DATABASE_EXP, TYPE_EXPRESSION_EXP, TYPE_FUNCTION_EXP, TYPE_LOCK_EXP, TYPE_MISSING_INCLUDE_EXP, TYPE_NATIVE_EXP, TYPE_SECURITY_EXP, TYPE_TEMPLATE_EXP, TYPE_XML_EXP
Constructor and Description |
---|
ExceptonImpl() |
Modifier and Type | Method and Description |
---|---|
PageException |
createAbort()
create exception "Abort"
|
PageException |
createAbortException(String showError)
create exception "AbortException"
|
PageException |
createApplicationException(String message)
create exception "ApplicationException"
|
PageException |
createApplicationException(String message,
String detail)
create exception "ApplicationException"
|
PageException |
createCasterException(String message)
create exception "CasterException"
|
PageException |
createCustomTypeException(String message,
String detail,
String errorcode,
String customType)
create exception "CustomTypeException"
|
PageException |
createCustomTypeException(String message,
String detail,
String errorcode,
String customType,
String extendedInfo) |
PageException |
createDatabaseException(String message)
create exception "DatabaseException"
|
PageException |
createDatabaseException(String message,
SQL sql)
create exception "DatabaseException"
|
PageException |
createDatabaseException(String message,
String detail)
create exception "DatabaseException"
|
PageException |
createExpressionException(String message)
create exception "ExpressionException"
|
PageException |
createExpressionException(String message,
String detail)
create exception "ExpressionException"
|
PageException |
createFunctionException(PageContext pc,
String functionName,
int badArgumentPosition,
String badArgumentName,
String message,
String detail)
create exception "FunctionException"
|
PageException |
createFunctionException(PageContext pc,
String functionName,
String badArgumentPosition,
String badArgumentName,
String message)
create exception "FunctionException"
|
PageException |
createLockException(String operation,
String name,
String message)
create exception "LockException"
|
PageException |
createMissingIncludeException(PageSource ps)
create exception "LockException"
|
PageException |
createNativeException(Throwable t)
create exception "NativeException"
|
PageException |
createSecurityException(String message)
create exception "SecurityException"
|
PageException |
createSecurityException(String message,
String detail)
create exception "SecurityException"
|
PageException |
createTemplateException(String message)
create exception "TemplateException"
|
PageException |
createTemplateException(String message,
String detail)
create exception "TemplateException"
|
PageException |
createXMLException(String message)
create exception "XMLException"
|
PageException |
createXMLException(String message,
String detail)
create exception "XMLException"
|
static Excepton |
getInstance() |
boolean |
isOfType(int type,
Throwable t)
check if exception is of given type
|
public ExceptonImpl()
public static Excepton getInstance()
public PageException createAbort()
Excepton
createAbort
in interface Excepton
public PageException createAbortException(String showError)
Excepton
createAbortException
in interface Excepton
public PageException createApplicationException(String message)
Excepton
createApplicationException
in interface Excepton
public PageException createApplicationException(String message, String detail)
Excepton
createApplicationException
in interface Excepton
public PageException createCasterException(String message)
Excepton
createCasterException
in interface Excepton
public PageException createCustomTypeException(String message, String detail, String errorcode, String customType)
Excepton
createCustomTypeException
in interface Excepton
public PageException createCustomTypeException(String message, String detail, String errorcode, String customType, String extendedInfo)
createCustomTypeException
in interface Excepton
public PageException createDatabaseException(String message)
Excepton
createDatabaseException
in interface Excepton
public PageException createDatabaseException(String message, String detail)
Excepton
createDatabaseException
in interface Excepton
public PageException createDatabaseException(String message, SQL sql)
Excepton
createDatabaseException
in interface Excepton
public PageException createExpressionException(String message)
Excepton
createExpressionException
in interface Excepton
public PageException createExpressionException(String message, String detail)
Excepton
createExpressionException
in interface Excepton
public PageException createFunctionException(PageContext pc, String functionName, String badArgumentPosition, String badArgumentName, String message)
Excepton
createFunctionException
in interface Excepton
public PageException createFunctionException(PageContext pc, String functionName, int badArgumentPosition, String badArgumentName, String message, String detail)
Excepton
createFunctionException
in interface Excepton
public PageException createLockException(String operation, String name, String message)
Excepton
createLockException
in interface Excepton
public PageException createMissingIncludeException(PageSource ps)
Excepton
createMissingIncludeException
in interface Excepton
public PageException createNativeException(Throwable t)
Excepton
createNativeException
in interface Excepton
public PageException createSecurityException(String message)
Excepton
createSecurityException
in interface Excepton
public PageException createSecurityException(String message, String detail)
Excepton
createSecurityException
in interface Excepton
public PageException createTemplateException(String message)
Excepton
createTemplateException
in interface Excepton
public PageException createTemplateException(String message, String detail)
Excepton
createTemplateException
in interface Excepton
public PageException createXMLException(String message)
Excepton
createXMLException
in interface Excepton
public PageException createXMLException(String message, String detail)
Excepton
createXMLException
in interface Excepton
Copyright © 2015 Lucee