Annotation Type OnWebSocketError
-
@Documented @Retention(RUNTIME) @Target(METHOD) public @interface OnWebSocketErrorAnnotation for receiving websocket errors (exceptions) that have occurred internally in the websocket implementation.Acceptable method patterns.
Note:methodNamecan be any name you want to use.public void methodName(Throwableerror)public void methodName(Sessionsession,Throwableerror)