Annotation Interface OnWebSocketError


@Documented @Retention(RUNTIME) @Target(METHOD) public @interface OnWebSocketError

Annotation for methods to receive WebSocket errors.

Acceptable method patterns:

  1. public void <methodName>(Throwable cause)
  2. public void <methodName>(Session session, Throwable cause)