Class HTTPException

  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by
              extended by org.w3c.jigsaw.http.HTTPException
All Implemented Interfaces:

public class HTTPException
extends ProtocolException

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.

See Also:
Serialized Form

Constructor Summary
HTTPException(ProtocolException ex)
HTTPException(Reply error)
HTTPException(java.lang.String msg)
HTTPException(java.lang.String msg, Reply error)
Method Summary
Methods inherited from class
getReply, hasReply
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

Constructor Detail


public HTTPException(java.lang.String msg)


public HTTPException(java.lang.String msg,
                     Reply error)


public HTTPException(Reply error)


public HTTPException(ProtocolException ex)