Class ProtocolException

  • All Implemented Interfaces:
    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
    • Constructor Detail

      • ProtocolException

        public ProtocolException​(String message)
      • ProtocolException

        public ProtocolException​(String message,
                                 Throwable t)
      • ProtocolException

        public ProtocolException​(Throwable t)