public final class ProtocolViolationException extends RuntimeException
RuntimeException raised when a remote peer violated the current SessionProtocol.| Constructor and Description |
|---|
ProtocolViolationException()
Creates a new exception.
|
ProtocolViolationException(String message)
Creates a new instance with the specified
message. |
ProtocolViolationException(String message,
Throwable cause)
Creates a new instance with the specified
message and cause. |
ProtocolViolationException(Throwable cause)
Creates a new instance with the specified
cause. |
| Modifier and Type | Method and Description |
|---|---|
Throwable |
fillInStackTrace() |
addSuppressed, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic ProtocolViolationException()
public ProtocolViolationException(String message)
message.public ProtocolViolationException(String message, Throwable cause)
message and cause.public ProtocolViolationException(Throwable cause)
cause.public Throwable fillInStackTrace()
fillInStackTrace in class ThrowableCopyright © 2020 LeanCloud. All rights reserved.