public interface Excepton
Modifier and Type | Field and Description |
---|---|
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 |
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(Object obj,
Class clazz) |
PageException |
createCasterException(Object obj,
String className) |
PageException |
createCasterException(String message)
create exception "CasterException"
|
PageException |
createCustomTypeException(String message,
String detail,
String errorcode,
String customType)
Deprecated.
use instead
createCustomTypeException(String message, String detail, String errorcode, String customType, String extendedInfo); |
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 min,
int max,
int actual) |
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)
Deprecated.
use instead
createFunctionException(PageContext pc,String functionName, int badArgumentPosition, String badArgumentName, String message, String detail)) |
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"
|
RuntimeException |
createPageRuntimeException(PageException pe) |
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
|
String |
similarKeyMessage(Collection.Key[] keys,
String keySearched,
String keyLabel,
String keyLabels,
String in,
boolean listAll) |
IOException |
toIOException(Throwable t) |
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
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 createCasterException(Object obj, String className)
PageException createCasterException(Object obj, Class clazz)
@Deprecated PageException createCustomTypeException(String message, String detail, String errorcode, String customType)
createCustomTypeException(String message, String detail, String errorcode, String customType, String extendedInfo);
message
- detail
- errorcode
- customType
- PageException createCustomTypeException(String message, String detail, String errorcode, String customType, String extendedInfo)
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
- @Deprecated PageException createFunctionException(PageContext pc, String functionName, String badArgumentPosition, String badArgumentName, String message)
createFunctionException(PageContext pc,String functionName, int badArgumentPosition, String badArgumentName, String message, String detail))
pc
- functionName
- badArgumentPosition
- badArgumentName
- message
- PageException createFunctionException(PageContext pc, String functionName, int badArgumentPosition, String badArgumentName, String message, String detail)
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 checkString similarKeyMessage(Collection.Key[] keys, String keySearched, String keyLabel, String keyLabels, String in, boolean listAll)
RuntimeException createPageRuntimeException(PageException pe)
PageException createFunctionException(PageContext pc, String functionName, int min, int max, int actual)
IOException toIOException(Throwable t)
Copyright © 2019. All rights reserved.