Class SockJsTransportFailureException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.springframework.core.NestedRuntimeException
org.springframework.web.socket.sockjs.SockJsException
org.springframework.web.socket.sockjs.SockJsTransportFailureException
- All Implemented Interfaces:
Serializable
Indicates a serious failure that occurred in the SockJS implementation as opposed to
in user code (e.g. IOException while writing to the response). When this exception
is raised, the SockJS session is typically closed.
- Since:
- 4.0
- Author:
- Rossen Stoyanchev
- See Also:
-
Constructor Summary
ConstructorDescriptionSockJsTransportFailureException
(String message, String sessionId, Throwable cause) Constructor for SockJsTransportFailureException.SockJsTransportFailureException
(String message, Throwable cause) Constructor for SockJsTransportFailureException. -
Method Summary
Methods inherited from class org.springframework.web.socket.sockjs.SockJsException
getSockJsSessionId
Methods inherited from class org.springframework.core.NestedRuntimeException
contains, getMessage, getMostSpecificCause, getRootCause
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
SockJsTransportFailureException
Constructor for SockJsTransportFailureException.- Parameters:
message
- the exception messagecause
- the root cause- Since:
- 4.1.7
-
SockJsTransportFailureException
Constructor for SockJsTransportFailureException.- Parameters:
message
- the exception messagesessionId
- the SockJS session idcause
- the root cause
-