|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Throwable
java.lang.Exception
javax.servlet.jsp.JspException
railo.runtime.exp.PageException
railo.runtime.exp.PageExceptionImpl
railo.runtime.exp.CustomTypeException
public final class CustomTypeException
Exception throwed by CFML Code
Constructor Summary | |
---|---|
CustomTypeException(String message,
String detail,
String errorCode,
String customType,
String extendedinfo)
constructor of the Exception |
Method Summary | |
---|---|
CatchBlock |
getCatchBlock(Config config)
return detailed catch block of the error |
Struct |
getErrorBlock(PageContext pc,
ErrorPage ep)
return detailed error block of the error |
boolean |
typeEqual(String type)
compare error type as String |
Methods inherited from class railo.runtime.exp.PageExceptionImpl |
---|
addContext, getAddional, getAdditional, getCatchBlock, getCatchBlock, getCustomTypeAsString, getDetail, getErrorCode, getExtendedInfo, getLine, getPageDeep, getRootCause, getStackTrace, getStackTraceAsString, getTagContext, getTagContext, getTracePointer, getTypeAsString, printStackTrace, printStackTrace, printStackTrace, setAdditional, setDetail, setErrorCode, setExtendedInfo, setTracePointer, toDumpData |
Methods inherited from class java.lang.Throwable |
---|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, initCause, setStackTrace, toString |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public CustomTypeException(String message, String detail, String errorCode, String customType, String extendedinfo)
message
- Exception Messagedetail
- Detailed Exception MessageerrorCode
- Error CodecustomType
- Type of the ExceptionMethod Detail |
---|
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 page
public boolean typeEqual(String type)
IPageException
typeEqual
in interface IPageException
typeEqual
in class PageExceptionImpl
type
- other error type
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |