Class BadPayloadException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.eclipse.jetty.websocket.core.exception.WebSocketException
org.eclipse.jetty.websocket.core.exception.CloseException
org.eclipse.jetty.websocket.core.exception.BadPayloadException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
BadPayloadException.InvalidUtf8
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:
-
Nested Class Summary
-
Constructor Summary
ConstructorDescriptionBadPayloadException
(String message) BadPayloadException
(String message, Throwable t) -
Method Summary
Methods inherited from class org.eclipse.jetty.websocket.core.exception.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
-