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