Package org.glassfish.api.admin
Annotation Interface IfFailure
Annotation used to indicate what type of failure action should be performed if the annotated method was to return a
failure error code or throw an exception.
- Author:
- Jerome Dochez
-
Required Element Summary
Modifier and TypeRequired ElementDescriptionReturns the intent action to perform if the annotated method does not execute successfully (expressed by a faulty error code or an exception thrown).
-
Element Details
-
value
FailurePolicy valueReturns the intent action to perform if the annotated method does not execute successfully (expressed by a faulty error code or an exception thrown).- Returns:
- the intent action to perform
-