@Documented @Retention(RUNTIME) @Target(METHOD) public @interface OnWebSocketError
Acceptable method patterns. Note: methodName can be any name you want to use.
methodName
public void methodName(Throwable error)
Throwable
public void methodName(Session session, Throwable error)
Session