org.apache.http.ProtocolException
Signals that an HTTP protocol violation has occurred.
For example a malformed status line or headers, a missing message body, etc.
Known Direct Subclasses
Known Indirect Subclasses
Summary
Public Constructors
fillInStackTrace,
getCause,
getLocalizedMessage,
getMessage,
getStackTrace,
initCause,
printStackTrace,
printStackTrace,
printStackTrace,
setStackTrace,
toString
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait
Details
Public Constructors
public
ProtocolException()
Creates a new ProtocolException with a null detail message.
public
ProtocolException(String message)
Creates a new ProtocolException with the specified detail message.
Parameters
message
| The exception detail message
|
public
ProtocolException(String message, Throwable cause)
Creates a new ProtocolException 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
|