|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectrailo.runtime.op.ExceptonImpl
public final class ExceptonImpl
Implementation of Exception Util
Field Summary |
---|
Fields inherited from interface railo.runtime.util.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 Summary | |
---|---|
ExceptonImpl()
|
Method Summary | |
---|---|
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,
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 |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ExceptonImpl()
Method Detail |
---|
public static Excepton getInstance()
public PageException createAbort()
Excepton
createAbort
in interface Excepton
Excepton.createAbort()
public PageException createAbortException(String showError)
Excepton
createAbortException
in interface Excepton
Excepton.createAbortException(java.lang.String)
public PageException createApplicationException(String message)
Excepton
createApplicationException
in interface Excepton
Excepton.createApplicationException(java.lang.String)
public PageException createApplicationException(String message, String detail)
Excepton
createApplicationException
in interface Excepton
Excepton.createApplicationException(java.lang.String, java.lang.String)
public PageException createCasterException(String message)
Excepton
createCasterException
in interface Excepton
Excepton.createCasterException(java.lang.String)
public PageException createCustomTypeException(String message, String detail, String errorcode, String customType)
Excepton
createCustomTypeException
in interface Excepton
Excepton.createCustomTypeException(java.lang.String, java.lang.String, java.lang.String, java.lang.String)
public PageException createCustomTypeException(String message, String detail, String errorcode, String customType, String extendedInfo)
public PageException createDatabaseException(String message)
Excepton
createDatabaseException
in interface Excepton
Excepton.createDatabaseException(java.lang.String)
public PageException createDatabaseException(String message, String detail)
Excepton
createDatabaseException
in interface Excepton
Excepton.createDatabaseException(java.lang.String, java.lang.String)
public PageException createDatabaseException(String message, SQL sql)
Excepton
createDatabaseException
in interface Excepton
Excepton.createDatabaseException(java.lang.String, railo.runtime.db.SQL)
public PageException createExpressionException(String message)
Excepton
createExpressionException
in interface Excepton
Excepton.createExpressionException(java.lang.String)
public PageException createExpressionException(String message, String detail)
Excepton
createExpressionException
in interface Excepton
Excepton.createExpressionException(java.lang.String, java.lang.String)
public PageException createFunctionException(PageContext pc, String functionName, String badArgumentPosition, String badArgumentName, String message)
Excepton
createFunctionException
in interface Excepton
Excepton.createFunctionException(railo.runtime.PageContext, java.lang.String, java.lang.String, java.lang.String, java.lang.String)
public PageException createLockException(String operation, String name, String message)
Excepton
createLockException
in interface Excepton
Excepton.createLockException(java.lang.String, java.lang.String, java.lang.String)
public PageException createMissingIncludeException(PageSource ps)
Excepton
createMissingIncludeException
in interface Excepton
Excepton.createMissingIncludeException(railo.runtime.PageSource)
public PageException createNativeException(Throwable t)
Excepton
createNativeException
in interface Excepton
Excepton.createNativeException(java.lang.Throwable)
public PageException createSecurityException(String message)
Excepton
createSecurityException
in interface Excepton
Excepton.createSecurityException(java.lang.String)
public PageException createSecurityException(String message, String detail)
Excepton
createSecurityException
in interface Excepton
Excepton.createSecurityException(java.lang.String, java.lang.String)
public PageException createTemplateException(String message)
Excepton
createTemplateException
in interface Excepton
Excepton.createTemplateException(java.lang.String)
public PageException createTemplateException(String message, String detail)
Excepton
createTemplateException
in interface Excepton
Excepton.createTemplateException(java.lang.String, java.lang.String)
public PageException createXMLException(String message)
Excepton
createXMLException
in interface Excepton
Excepton.createXMLException(java.lang.String)
public PageException createXMLException(String message, String detail)
Excepton
createXMLException
in interface Excepton
Excepton.createXMLException(java.lang.String, java.lang.String)
public boolean isOfType(int type, Throwable t)
Excepton
isOfType
in interface Excepton
type
- type to checkt
- exception to check
Excepton.isOfType(int, java.lang.Throwable)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |