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.
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)