@Retention(value=RUNTIME) @Target(value=METHOD) public @interface OnError
Endpoint.onError(jakarta.websocket.Session, java.lang.Throwable) for a description of the different categories of error.
The method may only take the following parameters:-
Session parameterThrowable parameterjakarta.websocket.server.PathParam annotationThe parameters may appear in any order.
Comments to: websocket-dev@eclipse.org.
Copyright © 2018, 2020 Eclipse Foundation. All rights reserved.
Use is subject to license terms.