public class SimpleAsyncUncaughtExceptionHandler extends java.lang.Object implements AsyncUncaughtExceptionHandler
AsyncUncaughtExceptionHandler
that simply logs the exception.Constructor and Description |
---|
SimpleAsyncUncaughtExceptionHandler() |
Modifier and Type | Method and Description |
---|---|
void |
handleUncaughtException(java.lang.Throwable ex,
java.lang.reflect.Method method,
java.lang.Object... params)
Handle the given uncaught exception thrown from an asynchronous method.
|
public void handleUncaughtException(java.lang.Throwable ex, java.lang.reflect.Method method, java.lang.Object... params)
AsyncUncaughtExceptionHandler
handleUncaughtException
in interface AsyncUncaughtExceptionHandler
ex
- the exception thrown from the asynchronous methodmethod
- the asynchronous methodparams
- the parameters used to invoked the method