Package dev.relism.flash.websocket
Class WebSocketProtocolException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.io.IOException
dev.relism.flash.websocket.WebSocketProtocolException
- All Implemented Interfaces:
Serializable
A WebSocket frame violated RFC 6455 (bad opcode, wrong masking direction, oversized control
frame, fragmented control frame, or a message exceeding the session's buffer). Carries the
close code (
1002 protocol error, 1009 message too big) the session must send
before closing — see WebSocketLoop, the single site that catches this.- See Also:
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
WebSocketProtocolException
-
-
Method Details
-
closeCode
public int closeCode()
-