Package org.glassfish.tyrus.core
Class WebSocketException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.glassfish.tyrus.core.WebSocketException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
ProtocolException
,Utf8DecodingException
WebSocketException can be thrown during runtime (after handshake).
- 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
-
WebSocketException
Create newWebSocketException
.- Parameters:
message
- excetion message.
-
-
Method Details
-
getCloseReason
Get close reason.- Returns:
- close reason used when processing this exception.
-