Package org.glassfish.tyrus.core
Class ProtocolException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.glassfish.tyrus.core.WebSocketException
org.glassfish.tyrus.core.ProtocolException
- All Implemented Interfaces:
Serializable
Represents issue with parsing or producing websocket frame.
- Author:
- Pavel Bucek
- See Also:
-
Constructor Summary
-
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
ProtocolException
-
-
Method Details
-
getCloseReason
Description copied from class:WebSocketException
Get close reason.- Specified by:
getCloseReason
in classWebSocketException
- Returns:
- close reason used when processing this exception.
-