Class SockJsException

All Implemented Interfaces:
Serializable
Direct Known Subclasses:
SockJsMessageDeliveryException, SockJsTransportFailureException

public class SockJsException extends NestedRuntimeException
Base class for exceptions raised while processing SockJS HTTP requests.
Since:
4.0
Author:
Rossen Stoyanchev
See Also:
  • Constructor Details

    • SockJsException

      public SockJsException(String message, @Nullable Throwable cause)
      Constructor for SockJsException.
      Parameters:
      message - the exception message
      cause - the root cause
    • SockJsException

      public SockJsException(String message, @Nullable String sessionId, @Nullable Throwable cause)
      Constructor for SockJsException.
      Parameters:
      message - the exception message
      sessionId - the SockJS session id
      cause - the root cause
  • Method Details

    • getSockJsSessionId

      @Nullable public String getSockJsSessionId()
      Return the SockJS session id.