Class ProtocolException

  • All Implemented Interfaces:
    java.io.Serializable

    public class ProtocolException
    extends CloseException
    Per spec, a protocol error should result in a Close frame of status code 1002 (PROTOCOL_ERROR)
    See Also:
    Serialized Form
    • 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​(java.lang.String message)
      • ProtocolException

        public ProtocolException​(java.lang.String message,
                                 java.lang.Throwable t)
      • ProtocolException

        public ProtocolException​(java.lang.Throwable t)