Class SockJsMessageDeliveryException
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.SockJsMessageDeliveryException
- All Implemented Interfaces:
Serializable
An exception thrown when a message frame was successfully received over an HTTP POST
and parsed but one or more of the messages it contained could not be delivered to the
WebSocketHandler either because the handler failed or because the connection got
closed.
The SockJS session is not automatically closed after this exception.
- Since:
- 4.0
- Author:
- Rossen Stoyanchev
- See Also:
-
Constructor Summary
ConstructorDescriptionSockJsMessageDeliveryException
(String sessionId, List<String> undeliveredMessages, String message) SockJsMessageDeliveryException
(String sessionId, List<String> undeliveredMessages, Throwable cause) -
Method Summary
Methods inherited from class org.springframework.web.socket.sockjs.SockJsException
getSockJsSessionId
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
-
SockJsMessageDeliveryException
-
SockJsMessageDeliveryException
-
-
Method Details
-
getUndeliveredMessages
-