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
public final class ProtocolViolationException extends RuntimeException
A
RuntimeException
raised when a remote peer violated the current SessionProtocol
.- See Also:
- Serialized Form
-
Constructor Summary
Constructors Constructor Description ProtocolViolationException()
Creates a new exception.ProtocolViolationException(String message)
Creates a new instance with the specifiedmessage
.ProtocolViolationException(String message, Throwable cause)
Creates a new instance with the specifiedmessage
andcause
.ProtocolViolationException(Throwable cause)
Creates a new instance with the specifiedcause
. -
Method Summary
Modifier and Type Method Description Throwable
fillInStackTrace()
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
Creates a new instance with the specifiedmessage
andcause
. -
ProtocolViolationException
Creates a new instance with the specifiedcause
.
-
-
Method Details
-
fillInStackTrace
- Overrides:
fillInStackTrace
in classThrowable
-