java.lang.Object | ||||
↳ | java.lang.Throwable | |||
↳ | java.lang.Exception | |||
↳ | org.apache.http.HttpException | |||
↳ | org.apache.http.ProtocolException |
Known Direct Subclasses |
Known Indirect Subclasses |
Signals that an HTTP protocol violation has occurred. For example a malformed status line or headers, a missing message body, etc.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
|
Creates a new ProtocolException with a
null
detail message.
|
||||||||||
|
Creates a new ProtocolException with the specified detail message.
|
||||||||||
|
Creates a new ProtocolException with the specified detail message and cause.
|
[Expand]
Inherited Methods
|
|||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Throwable
|
|||||||||||
From class
java.lang.Object
|
Creates a new ProtocolException with a null detail message.
Creates a new ProtocolException with the specified detail message.
message | The exception detail message |
---|
Creates a new ProtocolException with the specified detail message and cause.
message | the exception detail message |
---|---|
cause | the Throwable that caused this exception, or null if the cause is unavailable, unknown, or not a Throwable |