@Retention(value=RUNTIME) @Target(value=PARAMETER) @Documented public @interface Handles
Handlers typically have this form:
public void handle(@Handles @OptionalQualifier ExceptionEvent<TypeOfTheException> evt)If a handler method has a return type, it is ignored.
Modifier and Type | Optional Element and Description |
---|---|
int |
ordinal
Precedence relative to handlers for the same type.
|
Copyright © 2015 The Apache Software Foundation. All rights reserved.