Class SockJsTransportFailureException

  • All Implemented Interfaces:
    Serializable

    public class SockJsTransportFailureException
    extends SockJsException
    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:
    Serialized Form
    • Constructor Detail

      • SockJsTransportFailureException

        public SockJsTransportFailureException​(String message,
                                               Throwable cause)
        Constructor for SockJsTransportFailureException.
        Parameters:
        message - the exception message
        cause - the root cause
        Since:
        4.1.7
      • SockJsTransportFailureException

        public SockJsTransportFailureException​(String message,
                                               String sessionId,
                                               Throwable cause)
        Constructor for SockJsTransportFailureException.
        Parameters:
        message - the exception message
        sessionId - the SockJS session id
        cause - the root cause