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 (for example, 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 Details

    • SockJsTransportFailureException

      public SockJsTransportFailureException(String message, @Nullable 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, @Nullable Throwable cause)
      Constructor for SockJsTransportFailureException.
      Parameters:
      message - the exception message
      sessionId - the SockJS session id
      cause - the root cause