Package io.muserver

Class WebSocketProtocolException

  • All Implemented Interfaces:
    java.io.Serializable

    @Deprecated
    public class WebSocketProtocolException
    extends java.lang.RuntimeException
    Deprecated.
    Thrown when a websocket frame is received that is invalid for any reason.
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      WebSocketProtocolException​(java.lang.String message, java.lang.Throwable cause)
      Deprecated.
    • 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

      • WebSocketProtocolException

        @Deprecated
        public WebSocketProtocolException​(java.lang.String message,
                                          java.lang.Throwable cause)
        Deprecated.
        Deprecated
        Parameters:
        message - The message
        cause - The cause