public final class IllegalProtocolException
extends java.lang.Exception
Protocol was used in a context that was not allowed by
the API.| Constructor and Description |
|---|
IllegalProtocolException(Protocol protocol) |
IllegalProtocolException(Protocol protocol,
java.lang.String message) |
IllegalProtocolException(Protocol protocol,
java.lang.String message,
java.lang.Throwable cause) |
IllegalProtocolException(Protocol protocol,
java.lang.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. |
public IllegalProtocolException(Protocol protocol)
public IllegalProtocolException(Protocol protocol, java.lang.String message)
message - public IllegalProtocolException(Protocol protocol, java.lang.Throwable cause)
cause - public IllegalProtocolException(Protocol protocol, java.lang.String message, java.lang.Throwable cause)
message - cause - Copyright © 2018. All Rights Reserved.