All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class w3c.jigsaw.http.HTTPException

java.lang.Object
   |
   +----java.lang.Throwable
           |
           +----java.lang.Exception
                   |
                   +----w3c.jigsaw.http.HTTPException

public class HTTPException
extends Exception
All entities should throw an HTTPException when encoutering some problems. This kind of exception is the one that gets normally caught by clients, and result in sending back HTTP error messages to the client.


Constructor Index

 o HTTPException(Reply)
 o HTTPException(String)
 o HTTPException(String, Reply)

Method Index

 o getReply()
Get this exception reply.
 o hasReply()
Was a reply provided with the exception ?

Constructors

 o HTTPException
 public HTTPException(String msg)
 o HTTPException
 public HTTPException(String msg,
                      Reply error)
 o HTTPException
 public HTTPException(Reply error)

Methods

 o hasReply
 public boolean hasReply()
Was a reply provided with the exception ?

Returns:
True if a reply is available.
 o getReply
 public Reply getReply()
Get this exception reply.

Returns:
The reply to send back to requesting process.

All Packages  Class Hierarchy  This Package  Previous  Next  Index