@Target({METHOD,TYPE})
@Retention(RUNTIME)
@Documented
@MinMuleVersion("4.5.0")
public @interface Throws
Declares an array of
classes of an ErrorTypeProvider, to communicate and declare which
ErrorTypeDefinition the operation could throw.
This annotation can be applied to an Operation method, an Operation container class or an Extension class. The
annotation value to consider is the one of in the deepest level, eg: If the annotation is used in an operation method and in an
extension class, the one to use is the one in the operation.
- Since:
- 1.0
- See Also:
-
Required Element Summary
Required Elements
-
Element Details
-
value
Class<? extends ErrorTypeProvider>[] value
-