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