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