@Target(value={TYPE,METHOD}) @Retention(value=RUNTIME) @Documented public @interface OnException
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.| Modifier and Type | Required Element and Description |
|---|---|
Class<? extends ExceptionEnricher> |
value
A
Class which implements the ExceptionEnricher interface. |
public abstract Class<? extends ExceptionEnricher> value
Class which implements the ExceptionEnricher interface.Copyright © 2016 MuleSoft, Inc.. All rights reserved.