Package org.java_websocket.exceptions
Class InvalidFrameException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.java_websocket.exceptions.InvalidDataException
org.java_websocket.exceptions.InvalidFrameException
- All Implemented Interfaces:
Serializable
exception which indicates that a invalid frame was received (CloseFrame.PROTOCOL_ERROR)
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionconstructor for a InvalidFrameExceptionconstructor for a InvalidFrameExceptionconstructor for a InvalidFrameExceptionconstructor for a InvalidFrameException -
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
-
InvalidFrameException
public InvalidFrameException()constructor for a InvalidFrameExceptioncalling InvalidDataException with closecode PROTOCOL_ERROR
-
InvalidFrameException
constructor for a InvalidFrameExceptioncalling InvalidDataException with closecode PROTOCOL_ERROR
- Parameters:
s
- the detail message.
-
InvalidFrameException
constructor for a InvalidFrameExceptioncalling InvalidDataException with closecode PROTOCOL_ERROR
- Parameters:
t
- the throwable causing this exception.
-
InvalidFrameException
constructor for a InvalidFrameExceptioncalling InvalidDataException with closecode PROTOCOL_ERROR
- Parameters:
s
- the detail message.t
- the throwable causing this exception.
-