Class SessionException
java.lang.Object
java.lang.Throwable
java.lang.Exception
jakarta.websocket.SessionException
- All Implemented Interfaces:
Serializable
Exception thrown when an error occurs on a WebSocket session.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionSessionException(String message, Throwable cause, Session session) Creates a SessionException with the specified detail message, cause, and session. -
Method Summary
Modifier and TypeMethodDescriptionReturns the session on which the error occurred.Methods inherited from class Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
SessionException
-
-
Method Details
-
getSession
-