public final class CustomTypeException extends PageExceptionImpl
Constructor and Description |
---|
CustomTypeException(String message,
String detail,
String errorCode,
String customType,
String extendedinfo)
constructor of the Exception
|
CustomTypeException(String message,
String detail,
String errorCode,
String customType,
String extendedinfo,
int entryLevel) |
Modifier and Type | Method and Description |
---|---|
CatchBlock |
getCatchBlock(Config config)
return detailed catch block of the error
|
Struct |
getErrorBlock(PageContext pc,
ErrorPage ep)
return detailed error block of the error
|
StackTraceElement[] |
getStackTrace() |
boolean |
typeEqual(String type)
compare error type as String
|
addContext, getAddional, getAdditional, getCatchBlock, getCatchBlock, getCustomTypeAsString, getDetail, getErrorCode, getExposeMessage, getExtendedInfo, getLine, getPageDeep, getRootCause, getStackTraceAsString, getStackTraceAsString, getTagContext, getTagContext, getTracePointer, getType, getTypeAsString, printStackTrace, printStackTrace, printStackTrace, printStackTrace, printStackTrace, printStackTrace, setAdditional, setDetail, setErrorCode, setExposeMessage, setExtendedInfo, setTracePointer, toDumpData, toString
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getSuppressed, initCause, setStackTrace, toString
public CustomTypeException(String message, String detail, String errorCode, String customType, String extendedinfo)
message
- Exception Messagedetail
- Detailed Exception MessageerrorCode
- Error CodecustomType
- Type of the ExceptionentryLevel
- public StackTraceElement[] getStackTrace()
getStackTrace
in class PageExceptionImpl
public CatchBlock getCatchBlock(Config config)
IPageException
getCatchBlock
in interface IPageException
getCatchBlock
in class PageExceptionImpl
public Struct getErrorBlock(PageContext pc, ErrorPage ep)
IPageException
getErrorBlock
in interface IPageException
getErrorBlock
in class PageExceptionImpl
pc
- page context of the requestep
- error pagepublic boolean typeEqual(String type)
IPageException
typeEqual
in interface IPageException
typeEqual
in class PageExceptionImpl
type
- other error typeCopyright © 2015 Lucee