railo.runtime.exp
Class CustomTypeException
java.lang.Object
java.lang.Throwable
java.lang.Exception
javax.servlet.jsp.JspException
railo.runtime.exp.PageException
railo.runtime.exp.PageExceptionImpl
railo.runtime.exp.CustomTypeException
- All Implemented Interfaces:
- Serializable, Dumpable, IPageException
public final class CustomTypeException
- extends PageExceptionImpl
Exception throwed by Cold Fusion Code
- See Also:
- Serialized Form
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 |
CustomTypeException
public CustomTypeException(String message,
String detail,
String errorCode,
String customType,
String extendedinfo)
- constructor of the Exception
- Parameters:
message
- Exception Messagedetail
- Detailed Exception MessageerrorCode
- Error CodecustomType
- Type of the Exception
getCatchBlock
public CatchBlock getCatchBlock(Config config)
- Overrides:
getCatchBlock
in class PageExceptionImpl
getErrorBlock
public Struct getErrorBlock(PageContext pc,
ErrorPage ep)
- Description copied from interface:
IPageException
- return detailed error block of the error
- Specified by:
getErrorBlock
in interface IPageException
- Overrides:
getErrorBlock
in class PageExceptionImpl
- Parameters:
pc
- page context of the requestep
- error page
- Returns:
- catch block
- See Also:
IPageException.getErrorBlock(railo.runtime.PageContext, railo.runtime.err.ErrorPage)
typeEqual
public boolean typeEqual(String type)
- Description copied from interface:
IPageException
- compare error type as String
- Specified by:
typeEqual
in interface IPageException
- Overrides:
typeEqual
in class PageExceptionImpl
- Parameters:
type
- other error type
- Returns:
- is same error type
- See Also:
IPageException.typeEqual(java.lang.String)
Copyright © 2012 Railo