Class InvalidHandshakeException

  • All Implemented Interfaces:
    java.io.Serializable

    public class InvalidHandshakeException
    extends InvalidDataException
    exception which indicates that a invalid handshake was received (CloseFrame.PROTOCOL_ERROR)
    See Also:
    Serialized Form
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private static long serialVersionUID
      Serializable
    • 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
    • Field Detail

      • serialVersionUID

        private static final long serialVersionUID
        Serializable
        See Also:
        Constant Field Values
    • Constructor Detail

      • InvalidHandshakeException

        public InvalidHandshakeException()
        constructor for a InvalidHandshakeException

        calling InvalidDataException with closecode PROTOCOL_ERROR

      • InvalidHandshakeException

        public InvalidHandshakeException​(java.lang.String s,
                                         java.lang.Throwable t)
        constructor for a InvalidHandshakeException

        calling InvalidDataException with closecode PROTOCOL_ERROR

        Parameters:
        s - the detail message.
        t - the throwable causing this exception.
      • InvalidHandshakeException

        public InvalidHandshakeException​(java.lang.String s)
        constructor for a InvalidHandshakeException

        calling InvalidDataException with closecode PROTOCOL_ERROR

        Parameters:
        s - the detail message.
      • InvalidHandshakeException

        public InvalidHandshakeException​(java.lang.Throwable t)
        constructor for a InvalidHandshakeException

        calling InvalidDataException with closecode PROTOCOL_ERROR

        Parameters:
        t - the throwable causing this exception.