Class ProtocolException

  • All Implemented Interfaces:
    java.io.Serializable

    public class ProtocolException
    extends WebSocketException
    Represents issue with parsing or producing websocket frame.
    Author:
    Pavel Bucek
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      ProtocolException​(java.lang.String reasonPhrase)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      CloseReason getCloseReason()
      Get close reason.
      • 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 reasonPhrase)