org.mortbay.http
Class HttpException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byjava.io.IOException
              extended byorg.mortbay.http.HttpException
All Implemented Interfaces:
java.io.Serializable

public class HttpException
extends java.io.IOException

Exception for known HTTP error status.

Version:
$Revision: 1.5 $
Author:
Greg Wilkins (gregw)
See Also:
Serialized Form

Constructor Summary
HttpException()
           
HttpException(int code)
           
HttpException(int code, java.lang.String message)
           
 
Method Summary
 int getCode()
           
 java.lang.String getReason()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

HttpException

public HttpException()

HttpException

public HttpException(int code)

HttpException

public HttpException(int code,
                     java.lang.String message)
Method Detail

getCode

public int getCode()

getReason

public java.lang.String getReason()

toString

public java.lang.String toString()


Copyright © 2004 Mortbay Consulting Pty. Ltd. All Rights Reserved.