org.w3c.jigsaw.http
Class HTTPException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.w3c.tools.resources.ProtocolException
              extended by org.w3c.jigsaw.http.HTTPException
All Implemented Interfaces:
java.io.Serializable

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 org.w3c.tools.resources.ProtocolException
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

HTTPException

public HTTPException(java.lang.String msg)

HTTPException

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

HTTPException

public HTTPException(Reply error)

HTTPException

public HTTPException(ProtocolException ex)