Uses of Class
Jetty WebSocket API : Exception Types
Modifier and TypeClassDescription
classException to terminate the connection because it has received data within a frame payload that was not consistent with the requirements of that frame payload.
classIndicating that the provided Class is not a valid WebSocket as defined by the API.
classException when a message is too large for the internal buffers occurs and should trigger a connection close.
classException when a violation of policy occurs and should trigger a connection close.
classPer spec, a protocol error should result in a Close frame of status code 1002 (PROTOCOL_ERROR)
classException during WebSocket Upgrade Handshake.
classException thrown to indicate a connection I/O timeout.