|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | ||||||||
@Retention(value=RUNTIME) @Target(value=METHOD) public @interface OnError
This method level annotation can be used to decorate a Java method that wishes to be called in order
to handle errors. See 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 parameterjavax.websocket.server.PathParam annotationThe parameters may appear in any order.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | ||||||||