Top Description Methods
jakarta.websocket

public @Interface OnError

extends Annotation
Annotations
@Retention:RUNTIME
@Target:METHOD
Imports
java.lang.annotation.ElementType, .Retention, .RetentionPolicy, .Target

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 for a description of the different categories of error.

The method may only take the following parameters:-

The parameters may appear in any order.

Author
dannycoward

Method Summary

Inherited from java.lang.annotation.Annotation:
annotationTypeequalshashCodetoString