railo.runtime.exp
Class HTTPException

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.ApplicationException
                          extended by railo.runtime.exp.HTTPException
All Implemented Interfaces:
Serializable, Dumpable, IPageException

public final class HTTPException
extends ApplicationException

Exception class for the HTTP Handling

See Also:
Serialized Form

Constructor Summary
HTTPException(String message, String detail, int statusCode, String statusText, URL url)
          Constructor of the class
 
Method Summary
 CatchBlock getCatchBlock(Config config)
          return detailed catch block of the error
 int getStatusCode()
           
 String getStatusText()
           
 URL getURL()
           
 
Methods inherited from class railo.runtime.exp.PageExceptionImpl
addContext, getAddional, getAdditional, getCatchBlock, getCatchBlock, getCustomTypeAsString, getDetail, getErrorBlock, getErrorCode, getExtendedInfo, getLine, getPageDeep, getRootCause, getStackTrace, getStackTraceAsString, getTagContext, getTagContext, getTracePointer, getTypeAsString, printStackTrace, printStackTrace, printStackTrace, setAdditional, setDetail, setErrorCode, setExtendedInfo, setTracePointer, toDumpData, typeEqual
 
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

HTTPException

public HTTPException(String message,
                     String detail,
                     int statusCode,
                     String statusText,
                     URL url)
Constructor of the class

Parameters:
message -
detail -
statusCode -
Method Detail

getStatusCode

public int getStatusCode()
Returns:
Returns the statusCode.

getStatusText

public String getStatusText()
Returns:
Returns the status text.

getURL

public URL getURL()

getCatchBlock

public CatchBlock getCatchBlock(Config config)
Description copied from interface: IPageException
return detailed catch block of the error

Specified by:
getCatchBlock in interface IPageException
Overrides:
getCatchBlock in class PageExceptionImpl
Returns:
catch block


Copyright © 2012 Railo