UnsupportedHttpVersionExceptionpublic class ProtocolException extends HttpException
| Constructor | Description |
|---|---|
ProtocolException() |
Creates a new ProtocolException with a
null detail message. |
ProtocolException(java.lang.String message) |
Creates a new ProtocolException with the specified detail message.
|
ProtocolException(java.lang.String message,
java.lang.Throwable cause) |
Creates a new ProtocolException with the specified detail message and cause.
|
public ProtocolException()
null detail message.public ProtocolException(java.lang.String message)
message - The exception detail messagepublic ProtocolException(java.lang.String message,
java.lang.Throwable cause)
message - the exception detail messagecause - the Throwable that caused this exception, or null
if the cause is unavailable, unknown, or not a Throwable