|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |
@Retention(value=RUNTIME) @Target(value=PARAMETER) @Documented public @interface Handles
Marker annotation for a method to be considered an Exception Handler. Handlers are typically in the form of
public void ... (@Handles ... CaughtException<...> ...)
methods. If a method has a return type, it is
ignored.
Optional Element Summary | |
---|---|
TraversalMode |
during
Direction of the cause chain traversal to listen. |
int |
precedence
Precedence relative to handlers for the same type |
public abstract TraversalMode during
public abstract int precedence
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |