    All Packages  Class Hierarchy  This Package  Previous  Next  Index

# Class w3c.jigsaw.http.HTTPRuntimeException

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

public class HTTPRuntimeException
extends 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.

##

HTTPRuntimeException(Object, String, String)
  Create a new HTTPRuntime exception.

##

HTTPRuntimeException

      public HTTPRuntimeException(Object o,
                                  String mth,
                                  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.
  Parameters:
    o - The object were the error originated.
    mth - The method were the error originated.
    msg - An message explaining why this error occured.

    All Packages  Class Hierarchy  This Package  Previous  Next  Index