Signals that an HTTP protocol violation has occurred.
For example a malformed status line or headers, a missing message body, etc.
author: Laura Werner since: 4.0
Constructor Summary
public
ProtocolException() Creates a new ProtocolException with a null detail message.
public
ProtocolException(String message) Creates a new ProtocolException with the specified detail message.
Creates a new ProtocolException with the specified detail message and cause.
Parameters: message - the exception detail message Parameters: cause - the Throwable that caused this exception, or nullif the cause is unavailable, unknown, or not a Throwable