Class PolicyViolationException
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.PolicyViolationException
- All Implemented Interfaces:
Serializable
Exception when a violation of policy occurs and should trigger a connection close.
- See Also:
-
Constructor Summary
ConstructorDescriptionPolicyViolationException
(String message) PolicyViolationException
(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
-
PolicyViolationException
-
PolicyViolationException
-
PolicyViolationException
-