javax.websocket
Annotation Type WebSocketError


@Retention(value=RUNTIME)
@Target(value=METHOD)
public @interface WebSocketError

This method level annotation can be used to decorate a Java method that wishes to be called in order to handle errors.

The method may only take the following parameters:-

- optional Session parameter
- a Throwable parameter
- Zero to n String parameters annotated with the @WebSocketPathParam annotation.
in any order.

Author:
dannycoward




Copyright © 2012 Oracle and/or its affiliates. All rights reserved.