Top Description Fields Constructors Methods
org.java_websocket.exceptions

public Class InvalidFrameException

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

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

Field Summary

Modifier and TypeField and Description
private static final long

Constructor Summary

AccessConstructor and Description
public
InvalidFrameException()

constructor for a InvalidFrameException

calling InvalidDataException with closecode PROTOCOL_ERROR

public
InvalidFrameException(String
the detail message.
s
)

constructor for a InvalidFrameException

calling InvalidDataException with closecode PROTOCOL_ERROR

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

constructor for a InvalidFrameException

calling InvalidDataException with closecode PROTOCOL_ERROR

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

constructor for a InvalidFrameException

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

InvalidFrameExceptionback to summary
public InvalidFrameException()

constructor for a InvalidFrameException

calling InvalidDataException with closecode PROTOCOL_ERROR

InvalidFrameExceptionback to summary
public InvalidFrameException(String s)

constructor for a InvalidFrameException

calling InvalidDataException with closecode PROTOCOL_ERROR

Parameters
s:String

the detail message.

InvalidFrameExceptionback to summary
public InvalidFrameException(Throwable t)

constructor for a InvalidFrameException

calling InvalidDataException with closecode PROTOCOL_ERROR

Parameters
t:Throwable

the throwable causing this exception.

InvalidFrameExceptionback to summary
public InvalidFrameException(String s, Throwable t)

constructor for a InvalidFrameException

calling InvalidDataException with closecode PROTOCOL_ERROR

Parameters
s:String

the detail message.

t:Throwable

the throwable causing this exception.