public class ProtocolViolationException extends RuntimeException
RuntimeException raised when a remote peer violated the current SessionProtocol.| Modifier | 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. |
protected |
ProtocolViolationException(String message,
Throwable cause,
boolean enableSuppression,
boolean writableStackTrace)
Creates a new instance with the specified
message, cause, suppression enabled or
disabled, and writable stack trace enabled or disabled. |
|
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(@Nullable String message)
message.public ProtocolViolationException(@Nullable String message, @Nullable Throwable cause)
message and cause.public ProtocolViolationException(@Nullable Throwable cause)
cause.protected ProtocolViolationException(@Nullable String message, @Nullable Throwable cause, boolean enableSuppression, boolean writableStackTrace)
message, cause, suppression enabled or
disabled, and writable stack trace enabled or disabled.public Throwable fillInStackTrace()
fillInStackTrace in class ThrowableCopyright © 2020 LeanCloud. All rights reserved.