Package org.eclipse.jetty.websocket.api
Class BadPayloadException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- org.eclipse.jetty.websocket.api.WebSocketException
-
- org.eclipse.jetty.websocket.api.CloseException
-
- org.eclipse.jetty.websocket.api.BadPayloadException
-
- All Implemented Interfaces:
java.io.Serializable
public class BadPayloadException extends CloseException
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. (eg: not UTF-8 in a text frame, or a unexpected data seen by an extension)- See Also:
StatusCode.BAD_PAYLOAD
, Serialized Form
-
-
Constructor Summary
Constructors Constructor Description BadPayloadException(java.lang.String message)
BadPayloadException(java.lang.String message, java.lang.Throwable t)
BadPayloadException(java.lang.Throwable t)
-
Method Summary
-
Methods inherited from class org.eclipse.jetty.websocket.api.CloseException
getStatusCode
-
-