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:
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(String message)
Deprecated.ProtocolException(String message, Throwable t)
Deprecated.ProtocolException(Throwable t)
Deprecated.
-
Method Summary
-
Methods inherited from class org.eclipse.jetty.websocket.api.CloseException
getStatusCode
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-