Class SockJsMessageDeliveryException

All Implemented Interfaces:
Serializable

public class SockJsMessageDeliveryException extends SockJsException
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 Details

    • SockJsMessageDeliveryException

      public SockJsMessageDeliveryException(String sessionId, List<String> undeliveredMessages, Throwable cause)
    • SockJsMessageDeliveryException

      public SockJsMessageDeliveryException(String sessionId, List<String> undeliveredMessages, String message)
  • Method Details

    • getUndeliveredMessages

      public List<String> getUndeliveredMessages()