org.mortbay.jetty
Class HttpException

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

public class HttpException
extends IOException

See Also:
Serialized Form

Field Summary
(package private)  String _reason
           
(package private)  int _status
           
 
Constructor Summary
HttpException(int status, String reason)
           
 
Method Summary
 String getReason()
           
 int getStatus()
           
 void setReason(String reason)
           
 void setStatus(int status)
           
 
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
 

Field Detail

_status

int _status

_reason

String _reason
Constructor Detail

HttpException

HttpException(int status,
              String reason)
Method Detail

getReason

public String getReason()
Returns:
Returns the reason.

setReason

public void setReason(String reason)
Parameters:
reason - The reason to set.

getStatus

public int getStatus()
Returns:
Returns the status.

setStatus

public void setStatus(int status)
Parameters:
status - The status to set.