Package org.eclipse.jetty.websocket.api.exceptions
Jetty WebSocket API : Exception Types
-
Exception Summary Exception Description BadPayloadException Exception to terminate the connection because it has received data within a frame payload that was not consistent with the requirements of that frame payload.CloseException InvalidWebSocketException Indicating that the provided Class is not a valid WebSocket as defined by the API.MessageTooLargeException Exception when a message is too large for the internal buffers occurs and should trigger a connection close.PolicyViolationException Exception when a violation of policy occurs and should trigger a connection close.ProtocolException Per spec, a protocol error should result in a Close frame of status code 1002 (PROTOCOL_ERROR)UpgradeException Exception during WebSocket Upgrade Handshake.WebSocketException A recoverable exception within the websocket framework.WebSocketTimeoutException Exception thrown to indicate a connection I/O timeout.