public final class IllegalProtocolException extends Exception
Protocol was used in a context that was not allowed by
the API.| Constructor and Description |
|---|
IllegalProtocolException(Protocol protocol) |
IllegalProtocolException(Protocol protocol,
String message) |
IllegalProtocolException(Protocol protocol,
String message,
Throwable cause) |
IllegalProtocolException(Protocol protocol,
Throwable cause) |
| Modifier and Type | Method and Description |
|---|---|
Protocol |
getProtocol()
The
Protocol that the user tried to use in the wrong text and as
such this exception was generated. |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic IllegalProtocolException(Protocol protocol)
public IllegalProtocolException(Protocol protocol, String message)
message - public IllegalProtocolException(Protocol protocol, Throwable cause)
cause - Copyright © 2021. All Rights Reserved.