Package org.java_websocket.exceptions
Class InvalidHandshakeException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.java_websocket.exceptions.InvalidDataException
org.java_websocket.exceptions.InvalidHandshakeException
- All Implemented Interfaces:
Serializable
exception which indicates that a invalid handshake was received (CloseFrame.PROTOCOL_ERROR)
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionconstructor for a InvalidHandshakeExceptionconstructor for a InvalidHandshakeExceptionconstructor for a InvalidHandshakeExceptionconstructor for a InvalidHandshakeException -
Method Summary
Methods inherited from class org.java_websocket.exceptions.InvalidDataException
getCloseCode
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
InvalidHandshakeException
public InvalidHandshakeException()constructor for a InvalidHandshakeExceptioncalling InvalidDataException with closecode PROTOCOL_ERROR
-
InvalidHandshakeException
constructor for a InvalidHandshakeExceptioncalling InvalidDataException with closecode PROTOCOL_ERROR
- Parameters:
s
- the detail message.t
- the throwable causing this exception.
-
InvalidHandshakeException
constructor for a InvalidHandshakeExceptioncalling InvalidDataException with closecode PROTOCOL_ERROR
- Parameters:
s
- the detail message.
-
InvalidHandshakeException
constructor for a InvalidHandshakeExceptioncalling InvalidDataException with closecode PROTOCOL_ERROR
- Parameters:
t
- the throwable causing this exception.
-