railo.runtime.exp
Class CustomTypeException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by javax.servlet.jsp.JspException
              extended by railo.runtime.exp.PageException
                  extended by railo.runtime.exp.PageExceptionImpl
                      extended by 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

Constructor Summary
CustomTypeException(String message, String detail, String errorCode, String customType, String extendedinfo)
          constructor of the Exception
 
Method Summary
 CatchBlock getCatchBlock(Config config)
           
 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

CustomTypeException

public CustomTypeException(String message,
                           String detail,
                           String errorCode,
                           String customType,
                           String extendedinfo)
constructor of the Exception

Parameters:
message - Exception Message
detail - Detailed Exception Message
errorCode - Error Code
customType - Type of the Exception
Method Detail

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 request
ep - 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