All Downloads are FREE. Search and download functionalities are using the official Maven repository.

javax.net.websocket.annotations.WebSocketError Maven / Gradle / Ivy

There is a newer version: 1.0-b08
Show newest version
/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package javax.net.websocket.annotations;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 *  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 */ @Retention(RetentionPolicy.RUNTIME) @Target(ElementType.METHOD) public @interface WebSocketError { }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy