Package org.eclipse.jetty.websocket.api
Class ProtocolException
- 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.ProtocolException
-
- All Implemented Interfaces:
java.io.Serializable
public class ProtocolException extends CloseException
Per spec, a protocol error should result in a Close frame of status code 1002 (PROTOCOL_ERROR)- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ProtocolException(java.lang.String message)
ProtocolException(java.lang.String message, java.lang.Throwable t)
ProtocolException(java.lang.Throwable t)
-
Method Summary
-
Methods inherited from class org.eclipse.jetty.websocket.api.CloseException
getStatusCode
-
-