Annotation Type OnWebSocketError


@Documented @Retention(RUNTIME) @Target(METHOD) public @interface OnWebSocketError
Annotation for receiving websocket errors (exceptions) that have occurred internally in the websocket implementation.

Acceptable method patterns.
Note: methodName can be any name you want to use.

  1. public void methodName(Throwable error)
  2. public void methodName(Session session, Throwable error)