Annotation Interface OnWebSocketError
Annotation for methods to receive WebSocket errors.
Acceptable method signatures:
public void <methodName>(Session session, *Throwable cause)
The * before the parameter type means that the parameter is mandatory.