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
@Deprecated(since="2021-05-27") public class PolicyViolationException extends CloseException
Deprecated.The Eclipse Jetty and Apache Felix Http Jetty packages are no longer supported.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)
Deprecated.PolicyViolationException(java.lang.String message, java.lang.Throwable t)
Deprecated.PolicyViolationException(java.lang.Throwable t)
Deprecated.
-
Method Summary
-
Methods inherited from class org.eclipse.jetty.websocket.api.CloseException
getStatusCode
-
-
-
-
Constructor Detail
-
PolicyViolationException
public PolicyViolationException(java.lang.String message)
Deprecated.
-
PolicyViolationException
public PolicyViolationException(java.lang.String message, java.lang.Throwable t)
Deprecated.
-
PolicyViolationException
public PolicyViolationException(java.lang.Throwable t)
Deprecated.
-
-