@Retention(value=RUNTIME)
@Target(value=METHOD)
public @interface OnError
Endpoint.onError(javax.websocket.Session, java.lang.Throwable) for
a description of the different categories of error.
The method may only take the following parameters:-
Session parameterThrowable parameterPathParam annotationThe parameters may appear in any order.
Copyright © 2012–2020 Oracle Corporation. All rights reserved.