Home » HttpComponents-Core-4.0.1 » org.apache.http » [javadoc | source]
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.
Fields inherited from java.lang.Exception:
serialVersionUID
Constructor:
 public HttpException() 
 public HttpException(String message) 
    Creates a new HttpException with the specified detail message.
    Parameters:
    message - the exception detail message
 public HttpException(String message,
    Throwable 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