public interface ExceptionEnricher
The developer can return a new exception which replaces the original one or return the one that was thrown by the operation. For example, wrapping the Exception into a ConnectionException, the runtime know that reconnection is needed. Notice that this implies that the method should not fail by any reason.
| Modifier and Type | Method and Description |
|---|---|
Exception |
enrichException(Exception e)
This method can return a new enriched exception or the original exception
after doing some processing with it.
|
Exception enrichException(Exception e)
e - the exception thrown by the operationCopyright © 2016 MuleSoft, Inc.. All rights reserved.