@Target(value=METHOD)
@Retention(value=RUNTIME)
public @interface ExceptionHandler
Modifier and Type | Optional Element and Description |
---|---|
java.lang.Class<? extends java.lang.Throwable>[] |
value
Specifies the type of exceptions that the method should handle.
|