org.apache.http
public class: HttpException [javadoc |
source]
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.apache.http.HttpException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
MethodNotSupportedException, SipException, ProtocolException, UnsupportedHttpVersionException
Signals that an HTTP exception has occurred.
- version:
$
- Revision: 744522 $ $Date: 2009-02-14 17:56:03 +0100 (Sat, 14 Feb 2009) $
- since:
4.0
-
Constructor: |
public HttpException() {
super();
}
Creates a new HttpException with a null detail message. |
public HttpException(String message) {
super(message);
}
Creates a new HttpException with the specified detail message. Parameters:
message - the exception detail message
|
public HttpException(String message,
Throwable cause) {
super(message);
ExceptionUtils.initCause(this, cause);
}
Creates a new HttpException with the specified detail message and cause. Parameters:
message - the exception detail message
cause - the Throwable that caused this exception, or null
if the cause is unavailable, unknown, or not a Throwable
|
Methods from java.lang.Throwable: |
---|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Methods from java.lang.Object: |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |