| Modifier and Type | Method and Description |
|---|---|
| public Message | Returns: the error message to send to the client, ornull in which
case no message will be sent.the client message related to the error, possibly
clientMessage, Throwable null if error occurred while parsing a WebSocket messagethe cause for the error, never ex)nullHandle errors thrown while processing client messages providing an opportunity to prepare the error message or to prevent one from being sent. |
| public Message | Returns: the error message to send to the client, ornull in which
case no message will be sent.the error message, never errorMessage)nullHandle errors sent from the server side to clients, e.g. errors from the
|
| handleClientMessageProcessingError | back to summary |
|---|---|
| public Message Handle errors thrown while processing client messages providing an opportunity to prepare the error message or to prevent one from being sent. Note that the STOMP protocol requires a server to close the connection
after sending an ERROR frame. To prevent an ERROR frame from being sent,
a handler could return
| |
| handleErrorMessageToClient | back to summary |
|---|---|
| public Message Handle errors sent from the server side to clients, e.g. errors from the
| |