public class TransportErrorException extends NestedRuntimeException
If the underlying exception occurs while sending messages to the client, the session is
closed and the WebSocketHandler notified.
If the underlying exception occurs while processing an incoming HTTP request, including over HTTP POST, the session will remain open. Only the incoming request is rejected.
| Constructor and Description |
|---|
TransportErrorException(java.lang.String msg,
java.lang.Throwable cause,
java.lang.String sockJsSessionId) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getMessage()
Return the detail message, including the message from the nested exception
if there is one.
|
java.lang.String |
getSockJsSessionId() |
contains, getMostSpecificCause, getRootCausepublic TransportErrorException(java.lang.String msg,
java.lang.Throwable cause,
java.lang.String sockJsSessionId)
public java.lang.String getSockJsSessionId()
public java.lang.String getMessage()
NestedRuntimeExceptiongetMessage in class NestedRuntimeException