Class HTTPRuntimeException

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

public class HTTPRuntimeException
extends java.lang.RuntimeException

HTTP runtime exception. These exeptions should be thrown whenever as a programmer you encounter an abnormal situation. These exception are guaranted to be catched, and to only kill the client (if this makes sense) that triggered it.

See Also:
Serialized Form

Constructor Summary
HTTPRuntimeException(java.lang.Object o, java.lang.String mth, java.lang.String msg)
          Create a new HTTPRuntime exception.
Method Summary
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 HTTPRuntimeException(java.lang.Object o,
                            java.lang.String mth,
                            java.lang.String msg)
Create a new HTTPRuntime exception. This is the right way to throw runtime exceptions from the http server, since it is the one that is likely to provide most usefull informations.

o - The object were the error originated.
mth - The method were the error originated.
msg - An message explaining why this error occured.