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(org.apache.commons.httpclient.HttpMethod httpMethod)
          Constructor of the class
HTTPException(String message, String detail, int statusCode)
          Constructor of the class
 
Method Summary
 CatchBlock getCatchBlock(Config config)
           
 int getStatusCode()
           
 
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)
Constructor of the class

Parameters:
message -
detail -
statusCode -

HTTPException

public HTTPException(org.apache.commons.httpclient.HttpMethod httpMethod)
Constructor of the class

Parameters:
httpMethod -
Method Detail

getStatusCode

public int getStatusCode()
Returns:
Returns the statusCode.

getCatchBlock

public CatchBlock getCatchBlock(Config config)
Overrides:
getCatchBlock in class PageExceptionImpl


Copyright © 2012 Railo