All Packages  Class Hierarchy  This Package  Previous  Next  Index
  Class w3c.www.protocol.http.HttpException
java.lang.Object
   |
   +----java.lang.Throwable
           |
           +----java.lang.Exception
                   |
                   +----w3c.www.protocol.http.HttpException
  -  public class HttpException
  -  extends Exception
Exception thrown when processing a request failed.
   
  -   HttpException(Exception, String) HttpException(Exception, String)
-  
  
-   HttpException(Request, Exception) HttpException(Request, Exception)
-  
  
-   HttpException(Request, String) HttpException(Request, String)
-  
   
  -   getException() getException()
-   Get the original cause for this exception.
  
-   getRequest() getRequest()
-   Get the request that triggered this exception.
   
 HttpException
HttpException
 public HttpException(Request request,
                      String msg)
 HttpException
HttpException
 public HttpException(Request request,
                      Exception ex)
 HttpException
HttpException
 public HttpException(Exception ex,
                      String msg)
   
 getException
getException
 public final Exception getException()
  -  Get the original cause for this exception.
 HttpException can be used to wrap up transport layer problems (such
 as IOException or other SocketException, etc). In that case, this method
 will return the original exception that occured.
   
- 
    -  Returns:
    
-  An Exception instance, or null.
  
 
 getRequest
getRequest
 public final Request getRequest()
  -  Get the request that triggered this exception.
   
- 
    -  Returns:
    
-  A Request instance.
  
 
All Packages  Class Hierarchy  This Package  Previous  Next  Index