org.openqa.jetty.http
Class HttpException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.io.IOException
              extended by org.openqa.jetty.http.HttpException
All Implemented Interfaces:
Serializable

public class HttpException
extends 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, String message)
           
 
Method Summary
 int getCode()
           
 String getReason()
           
 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
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

HttpException

public HttpException()

HttpException

public HttpException(int code)

HttpException

public HttpException(int code,
                     String message)
Method Detail

getCode

public int getCode()

getReason

public String getReason()

toString

public String toString()
Overrides:
toString in class Throwable


Copyright © 2012. All Rights Reserved.