Class BadPayloadException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.eclipse.jetty.websocket.api.exceptions.WebSocketException
org.eclipse.jetty.websocket.api.exceptions.CloseException
org.eclipse.jetty.websocket.api.exceptions.BadPayloadException
- All Implemented Interfaces:
Serializable
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:
-
Constructor Summary
ConstructorDescriptionBadPayloadException
(String message) BadPayloadException
(String message, Throwable t) -
Method Summary
Methods inherited from class org.eclipse.jetty.websocket.api.exceptions.CloseException
getStatusCode
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
BadPayloadException
-
BadPayloadException
-
BadPayloadException
-