Class ProtocolException
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.ProtocolException
- All Implemented Interfaces:
Serializable
Per spec, a protocol error should result in a Close frame of status code 1002 (PROTOCOL_ERROR)
- See Also:
-
Constructor Summary
ConstructorDescriptionProtocolException
(String message) ProtocolException
(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
-
ProtocolException
-
ProtocolException
-
ProtocolException
-