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:
java.io.Serializable
public class InvalidFrameException extends InvalidDataException
exception which indicates that a invalid frame was received (CloseFrame.PROTOCOL_ERROR)- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description private static long
serialVersionUID
Serializable
-
Constructor Summary
Constructors Constructor Description InvalidFrameException()
constructor for a InvalidFrameExceptionInvalidFrameException(java.lang.String s)
constructor for a InvalidFrameExceptionInvalidFrameException(java.lang.String s, java.lang.Throwable t)
constructor for a InvalidFrameExceptionInvalidFrameException(java.lang.Throwable t)
constructor for a InvalidFrameException
-
Method Summary
-
Methods inherited from class org.java_websocket.exceptions.InvalidDataException
getCloseCode
-
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
Serializable- See Also:
- Constant Field Values
-
-
Constructor Detail
-
InvalidFrameException
public InvalidFrameException()
constructor for a InvalidFrameExceptioncalling InvalidDataException with closecode PROTOCOL_ERROR
-
InvalidFrameException
public InvalidFrameException(java.lang.String s)
constructor for a InvalidFrameExceptioncalling InvalidDataException with closecode PROTOCOL_ERROR
- Parameters:
s
- the detail message.
-
InvalidFrameException
public InvalidFrameException(java.lang.Throwable t)
constructor for a InvalidFrameExceptioncalling InvalidDataException with closecode PROTOCOL_ERROR
- Parameters:
t
- the throwable causing this exception.
-
InvalidFrameException
public InvalidFrameException(java.lang.String s, java.lang.Throwable t)
constructor for a InvalidFrameExceptioncalling InvalidDataException with closecode PROTOCOL_ERROR
- Parameters:
s
- the detail message.t
- the throwable causing this exception.
-
-