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 Details

    • ProtocolViolationException

      public ProtocolViolationException()
      Creates a new exception.
    • ProtocolViolationException

      public ProtocolViolationException​(@Nullable String message)
      Creates a new instance with the specified message.
    • ProtocolViolationException

      public ProtocolViolationException​(@Nullable String message, @Nullable Throwable cause)
      Creates a new instance with the specified message and cause.
    • ProtocolViolationException

      public ProtocolViolationException​(@Nullable Throwable cause)
      Creates a new instance with the specified cause.
  • Method Details