public interface MethodInvocationRecoverer<T>
| Modifier and Type | Method and Description |
|---|---|
T |
recover(java.lang.Object[] args,
java.lang.Throwable cause)
Recover gracefully from an error.
|
T recover(java.lang.Object[] args, java.lang.Throwable cause)
args - the arguments for the method invocation that failed.cause - the cause of the failure that led to this recovery.