public class

HttpException

extends Exception
java.lang.Object
   ↳ java.lang.Throwable
     ↳ java.lang.Exception
       ↳ org.apache.http.HttpException
Known Direct Subclasses
Known Indirect Subclasses

Class Overview

Signals that an HTTP exception has occurred.

Summary

Public Constructors
HttpException()
Creates a new HttpException with a null detail message.
HttpException(String message)
Creates a new HttpException with the specified detail message.
HttpException(String message, Throwable cause)
Creates a new HttpException with the specified detail message and cause.
[Expand]
Inherited Methods
From class java.lang.Throwable
From class java.lang.Object

Public Constructors

public HttpException ()

Creates a new HttpException with a null detail message.

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