类 SockJsException
- java.lang.Object
- java.lang.Throwable
- java.lang.Exception
- java.lang.RuntimeException
- org.springframework.core.NestedRuntimeException
- org.springframework.web.socket.sockjs.SockJsException
- 所有已实现的接口:
Serializable
public class SockJsException extends NestedRuntimeException
Base class for exceptions raised while processing SockJS HTTP requests.- 从以下版本开始:
- 4.0
- 作者:
- Rossen Stoyanchev
- 另请参阅:
- 序列化表格
构造器概要
构造器 构造器 说明 SockJsException(String message, String sessionId, Throwable cause)
Constructor for SockJsException.SockJsException(String message, Throwable cause)
Constructor for SockJsException.
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 String
getSockJsSessionId()
Return the SockJS session id.从类继承的方法 org.springframework.core.NestedRuntimeException
contains, getMessage, getMostSpecificCause, getRootCause
构造器详细资料
SockJsException
public SockJsException(String message, Throwable cause)
Constructor for SockJsException.- 参数:
message
- the exception messagecause
- the root cause
SockJsException
public SockJsException(String message, String sessionId, Throwable cause)
Constructor for SockJsException.- 参数:
message
- the exception messagesessionId
- the SockJS session idcause
- the root cause
方法详细资料
getSockJsSessionId
public String getSockJsSessionId()
Return the SockJS session id.