Class SockJsException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.springframework.core.NestedRuntimeException
org.springframework.web.socket.sockjs.SockJsException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
SockJsMessageDeliveryException
,SockJsTransportFailureException
Base class for exceptions raised while processing SockJS HTTP requests.
- Since:
- 4.0
- Author:
- Rossen Stoyanchev
- See Also:
-
Constructor Summary
ConstructorDescriptionSockJsException
(String message, String sessionId, Throwable cause) Constructor for SockJsException.SockJsException
(String message, Throwable cause) Constructor for SockJsException. -
Method Summary
Methods inherited from class org.springframework.core.NestedRuntimeException
contains, getMostSpecificCause, getRootCause
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
SockJsException
Constructor for SockJsException.- Parameters:
message
- the exception messagecause
- the root cause
-
SockJsException
Constructor for SockJsException.- Parameters:
message
- the exception messagesessionId
- the SockJS session idcause
- the root cause
-
-
Method Details
-
getSockJsSessionId
Return the SockJS session id.
-