|
|||||||||
| Home >> All >> org >> mortbay >> [ http overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
org.mortbay.http
Class HttpException

java.lang.Objectjava.lang.Throwable
java.lang.Exception
java.io.IOException
org.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.4 $
| Nested Class Summary |
| Nested classes inherited from class java.lang.Throwable |
|
| Field Summary | |
private int |
_code
|
| Fields inherited from class java.io.IOException |
|
| Fields inherited from class java.lang.Throwable |
|
| 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()
Get a human-readable representation of this Throwable. |
| 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 |
| Field Detail |
_code
private int _code
| 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()
- Description copied from class:
java.lang.Throwable - Get a human-readable representation of this Throwable. The detail message
is retrieved by getLocalizedMessage(). Then, with a null detail
message, this string is simply the object's class name; otherwise
the string is
getClass().getName() + ": " + message.
|
|||||||||
| Home >> All >> org >> mortbay >> [ http overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC