Annotation Interface OnException


@Target({TYPE,METHOD}) @Retention(RUNTIME) @Documented @MinMuleVersion("4.5.0") public @interface OnException
This annotation can be used at Operation level or at Extension level as a common handler for all the Operations, When an exception occurs in an operation the Enricher Class declared in this annotation will be called immediately, passing to the enrichException method the exception thrown by the operation. an Operation level enricher will override the OnException level one.
Since:
1.0