Class ProtocolException

    • Field Summary

      Fields 
      Modifier and Type Field Description
      private static long serialVersionUID  
    • Constructor Summary

      Constructors 
      Constructor Description
      ProtocolException()
      Creates a new ProtocolException with a null detail message.
      ProtocolException​(java.lang.String message)
      Creates a new ProtocolException with the specified detail message.
      ProtocolException​(java.lang.String format, java.lang.Object... args)
      Constructs a new ProtocolException with the specified detail message.
      ProtocolException​(java.lang.String message, java.lang.Throwable cause)
      Creates a new ProtocolException with the specified detail message and cause.
    • Method Summary

      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • ProtocolException

        public ProtocolException()
        Creates a new ProtocolException with a null detail message.
      • ProtocolException

        public ProtocolException​(java.lang.String message)
        Creates a new ProtocolException with the specified detail message.
        Parameters:
        message - The exception detail message
      • ProtocolException

        public ProtocolException​(java.lang.String format,
                                 java.lang.Object... args)
        Constructs a new ProtocolException with the specified detail message.
        Parameters:
        format - The exception detail message format; see String.format(String, Object...).
        args - The exception detail message arguments; see String.format(String, Object...).
        Since:
        5.0
      • ProtocolException

        public ProtocolException​(java.lang.String message,
                                 java.lang.Throwable cause)
        Creates a new ProtocolException with the specified detail message and cause.
        Parameters:
        message - the exception detail message
        cause - the Throwable that caused this exception, or null if the cause is unavailable, unknown, or not a Throwable