org.mortbay.jetty
Class HttpException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.io.IOException
org.mortbay.jetty.HttpException
- All Implemented Interfaces:
- Serializable
public class HttpException
- extends IOException
- See Also:
- Serialized Form
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
_status
int _status
_reason
String _reason
HttpException
HttpException(int status,
String reason)
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.