|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Throwable
java.lang.Exception
java.io.IOException
org.apache.commons.httpclient.URIException
org.apache.commons.httpclient.HttpException
Signals that an HTTP or HttpClient exception has occurred.
Why is it from URIException? To simplify the programming style for the inherited exception instances.
The usage of the reserved status and reason codes
Field Summary |
---|
Fields inherited from class org.apache.commons.httpclient.URIException |
---|
ESCAPING, PARSING, PUNYCODE, reason, reasonCode, UNKNOWN, UNSUPPORTED_ENCODING |
Constructor Summary | |
---|---|
HttpException()
Creates a new HttpException. |
|
HttpException(java.lang.String message)
Creates a new HttpException with the specified message. |
Methods inherited from class org.apache.commons.httpclient.URIException |
---|
getReason, getReasonCode, setReason, setReasonCode |
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 |
Constructor Detail |
public HttpException()
public HttpException(java.lang.String message)
message
- exception message
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |