Package org.eclipse.jetty.websocket.api
Class PolicyViolationException
- 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.PolicyViolationException
-
- All Implemented Interfaces:
java.io.Serializable
public class PolicyViolationException extends CloseException
Exception when a violation of policy occurs and should trigger a connection close.- See Also:
StatusCode.POLICY_VIOLATION
, Serialized Form
-
-
Constructor Summary
Constructors Constructor Description PolicyViolationException(java.lang.String message)
PolicyViolationException(java.lang.String message, java.lang.Throwable t)
PolicyViolationException(java.lang.Throwable t)
-
Method Summary
-
Methods inherited from class org.eclipse.jetty.websocket.api.CloseException
getStatusCode
-
-