Class ProtocolException

java.lang.Object
java.lang.Throwable
java.lang.Exception
org.jdrupes.httpcodec.ProtocolException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
HttpProtocolException

public class ProtocolException extends Exception
Represents the base class of all exceptions thrown due to protocol violations.
See Also:
  • Constructor Details

    • ProtocolException

    • ProtocolException

      public ProtocolException(String message)
      Parameters:
      message - the message
    • ProtocolException

      Parameters:
      cause - the cause
    • ProtocolException

      public ProtocolException(String message, Throwable cause)
      Parameters:
      message - the message
      cause - the cause
    • ProtocolException

      public ProtocolException(String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace)
      Parameters:
      message - the message
      cause - the cause
      enableSuppression - whether to enable suppression
      writableStackTrace - whether the stack trace is writable