Package com.linecorp.armeria.common
Class ProtocolViolationException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.linecorp.armeria.common.ProtocolViolationException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
WebSocketProtocolViolationException
A
RuntimeException
raised when a remote peer violated the current SessionProtocol
.- See Also:
-
Constructor Summary
ConstructorDescriptionCreates a new exception.ProtocolViolationException
(@Nullable String message) Creates a new instance with the specifiedmessage
.ProtocolViolationException
(@Nullable String message, @Nullable Throwable cause) Creates a new instance with the specifiedmessage
andcause
.Creates a new instance with the specifiedcause
. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
ProtocolViolationException
public ProtocolViolationException()Creates a new exception. -
ProtocolViolationException
Creates a new instance with the specifiedmessage
. -
ProtocolViolationException
public ProtocolViolationException(@Nullable @Nullable String message, @Nullable @Nullable Throwable cause) Creates a new instance with the specifiedmessage
andcause
. -
ProtocolViolationException
Creates a new instance with the specifiedcause
.
-
-
Method Details
-
fillInStackTrace
- Overrides:
fillInStackTrace
in classThrowable
-