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 SummaryConstructorsConstructorDescriptionConstructor for SockJsException.SockJsException(String message, @Nullable Throwable cause) Constructor for SockJsException.
- 
Method SummaryModifier and TypeMethodDescriptionReturn the SockJS session id.Methods inherited from class org.springframework.core.NestedRuntimeExceptioncontains, getMostSpecificCause, getRootCauseMethods inherited from class java.lang.ThrowableaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
- 
Constructor Details- 
SockJsExceptionConstructor for SockJsException.- Parameters:
- message- the exception message
- cause- the root cause
 
- 
SockJsExceptionConstructor for SockJsException.- Parameters:
- message- the exception message
- sessionId- the SockJS session id
- cause- the root cause
 
 
- 
- 
Method Details- 
getSockJsSessionIdReturn the SockJS session id.
 
-