Class ProtocolException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.eclipse.jetty.websocket.core.exception.WebSocketException
org.eclipse.jetty.websocket.core.exception.CloseException
org.eclipse.jetty.websocket.core.exception.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.core.exception.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
-