|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Excepton
class to get exceptions of different types
Field Summary | |
---|---|
static int |
TYPE_ABORT
Field TYPE_ABORT |
static int |
TYPE_ABORT_EXP
Field TYPE_ABORT_EXP |
static int |
TYPE_APPLICATION_EXP
Field TYPE_APPLICATION_EXP |
static int |
TYPE_CASTER_EXP
Field TYPE_CASTER_EXP |
static int |
TYPE_CUSTOM_TYPE_EXP
Field TYPE_CUSTOM_TYPE_EXP |
static int |
TYPE_DATABASE_EXP
Field TYPE_DATABASE_EXP |
static int |
TYPE_EXPRESSION_EXP
Field TYPE_EXPRESSION_EXP |
static int |
TYPE_FUNCTION_EXP
Field TYPE_FUNCTION_EXP |
static int |
TYPE_LOCK_EXP
Field TYPE_LOCK_EXP |
static int |
TYPE_MISSING_INCLUDE_EXP
Field TYPE_MISSING_INCLUDE_EXP |
static int |
TYPE_NATIVE_EXP
Field TYPE_NATIVE_EXP |
static int |
TYPE_SECURITY_EXP
Field TYPE_SECURITY_EXP |
static int |
TYPE_TEMPLATE_EXP
Field TYPE_TEMPLATE_EXP |
static int |
TYPE_XML_EXP
Field TYPE_XML_EXP |
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 |
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" |
boolean |
isOfType(int type,
Throwable t)
check if exception is of given type |
Field Detail |
---|
static final int TYPE_ABORT
TYPE_ABORT
static final int TYPE_ABORT_EXP
TYPE_ABORT_EXP
static final int TYPE_APPLICATION_EXP
TYPE_APPLICATION_EXP
static final int TYPE_CASTER_EXP
TYPE_CASTER_EXP
static final int TYPE_CUSTOM_TYPE_EXP
TYPE_CUSTOM_TYPE_EXP
static final int TYPE_DATABASE_EXP
TYPE_DATABASE_EXP
static final int TYPE_EXPRESSION_EXP
TYPE_EXPRESSION_EXP
static final int TYPE_FUNCTION_EXP
TYPE_FUNCTION_EXP
static final int TYPE_LOCK_EXP
TYPE_LOCK_EXP
static final int TYPE_MISSING_INCLUDE_EXP
TYPE_MISSING_INCLUDE_EXP
static final int TYPE_NATIVE_EXP
TYPE_NATIVE_EXP
static final int TYPE_SECURITY_EXP
TYPE_SECURITY_EXP
static final int TYPE_TEMPLATE_EXP
TYPE_TEMPLATE_EXP
static final int TYPE_XML_EXP
TYPE_XML_EXP
Method Detail |
---|
PageException createAbort()
PageException createAbortException(String showError)
showError
-
PageException createApplicationException(String message)
message
-
PageException createApplicationException(String message, String detail)
message
- detail
-
PageException createCasterException(String message)
message
-
PageException createCustomTypeException(String message, String detail, String errorcode, String customType)
message
- detail
- errorcode
- customType
-
PageException createDatabaseException(String message)
message
-
PageException createDatabaseException(String message, String detail)
message
- detail
-
PageException createDatabaseException(String message, SQL sql)
message
- sql
-
PageException createExpressionException(String message)
message
-
PageException createExpressionException(String message, String detail)
message
- detail
-
PageException createFunctionException(PageContext pc, String functionName, String badArgumentPosition, String badArgumentName, String message)
pc
- functionName
- badArgumentPosition
- badArgumentName
- message
-
PageException createLockException(String operation, String name, String message)
operation
- name
- message
-
PageException createMissingIncludeException(PageSource ps)
ps
-
PageException createNativeException(Throwable t)
t
-
PageException createSecurityException(String message)
message
-
PageException createSecurityException(String message, String detail)
message
- detail
-
PageException createTemplateException(String message)
message
-
PageException createTemplateException(String message, String detail)
message
- detail
-
PageException createXMLException(String message)
message
-
PageException createXMLException(String message, String detail)
message
- detail
-
boolean isOfType(int type, Throwable t)
type
- type to checkt
- exception to check
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |