Top Description Fields Constructors Methods
org.java_websocket.exceptions

public Class InvalidHandshakeException

extends InvalidDataException
Class Inheritance
Imports
org.java_websocket.framing.CloseFrame

exception which indicates that a invalid handshake was received (CloseFrame.PROTOCOL_ERROR)

Field Summary

Modifier and TypeField and Description
private static final long

Constructor Summary

AccessConstructor and Description
public
InvalidHandshakeException()

constructor for a InvalidHandshakeException

calling InvalidDataException with closecode PROTOCOL_ERROR

public
InvalidHandshakeException(String
the detail message.
s
,
Throwable
the throwable causing this exception.
t
)

constructor for a InvalidHandshakeException

calling InvalidDataException with closecode PROTOCOL_ERROR

public
InvalidHandshakeException(String
the detail message.
s
)

constructor for a InvalidHandshakeException

calling InvalidDataException with closecode PROTOCOL_ERROR

public
InvalidHandshakeException(Throwable
the throwable causing this exception.
t
)

constructor for a InvalidHandshakeException

calling InvalidDataException with closecode PROTOCOL_ERROR

Method Summary

Inherited from org.java_websocket.exceptions.InvalidDataException:
getCloseCode

Field Detail

serialVersionUIDback to summary
private static final long serialVersionUID

Hides org.java_websocket.exceptions.InvalidDataException.serialVersionUID.

Serializable

Constructor Detail

InvalidHandshakeExceptionback to summary
public InvalidHandshakeException()

constructor for a InvalidHandshakeException

calling InvalidDataException with closecode PROTOCOL_ERROR

InvalidHandshakeExceptionback to summary
public InvalidHandshakeException(String s, Throwable t)

constructor for a InvalidHandshakeException

calling InvalidDataException with closecode PROTOCOL_ERROR

Parameters
s:String

the detail message.

t:Throwable

the throwable causing this exception.

InvalidHandshakeExceptionback to summary
public InvalidHandshakeException(String s)

constructor for a InvalidHandshakeException

calling InvalidDataException with closecode PROTOCOL_ERROR

Parameters
s:String

the detail message.

InvalidHandshakeExceptionback to summary
public InvalidHandshakeException(Throwable t)

constructor for a InvalidHandshakeException

calling InvalidDataException with closecode PROTOCOL_ERROR

Parameters
t:Throwable

the throwable causing this exception.