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:
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(String message)PolicyViolationException(String message, Throwable t)PolicyViolationException(Throwable t)
-
Method Summary
-
Methods inherited from class org.eclipse.jetty.websocket.api.CloseException
getStatusCode
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-