Top Description Constructors Methods
org.springframework.web.socket.sockjs

public Class SockJsTransportFailureException

extends SockJsException
Class Inheritance
Annotations
@SuppressWarnings:serial
Imports
org.springframework.lang.Nullable

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.
Author
Rossen Stoyanchev
Since
4.0

Constructor Summary

AccessConstructor and Description
public
SockJsTransportFailureException(String
the exception message
message
,
Throwable
the root cause
cause
)

Constructor for SockJsTransportFailureException.

public
SockJsTransportFailureException(String
the exception message
message
,
String
the SockJS session id
sessionId
,
Throwable
the root cause
cause
)

Constructor for SockJsTransportFailureException.

Method Summary

Inherited from org.springframework.web.socket.sockjs.SockJsException:
getSockJsSessionId

Constructor Detail

SockJsTransportFailureExceptionback to summary
public SockJsTransportFailureException(String message, Throwable cause)

Constructor for SockJsTransportFailureException.

Parameters
message:String

the exception message

cause:Throwable

the root cause

Since
4.1.7
SockJsTransportFailureExceptionback to summary
public SockJsTransportFailureException(String message, String sessionId, Throwable cause)

Constructor for SockJsTransportFailureException.

Parameters
message:String

the exception message

sessionId:String

the SockJS session id

cause:Throwable

the root cause