类 SimpleAsyncUncaughtExceptionHandler
- java.lang.Object
- org.springframework.aop.interceptor.SimpleAsyncUncaughtExceptionHandler
- 所有已实现的接口:
AsyncUncaughtExceptionHandler
public class SimpleAsyncUncaughtExceptionHandler extends Object implements AsyncUncaughtExceptionHandler
A defaultAsyncUncaughtExceptionHandler
that simply logs the exception.- 从以下版本开始:
- 4.1
- 作者:
- Stephane Nicoll
构造器概要
构造器 构造器 说明 SimpleAsyncUncaughtExceptionHandler()
构造器详细资料
SimpleAsyncUncaughtExceptionHandler
public SimpleAsyncUncaughtExceptionHandler()
方法详细资料
handleUncaughtException
public void handleUncaughtException(Throwable ex, Method method, Object... params)
从接口复制的说明:AsyncUncaughtExceptionHandler
Handle the given uncaught exception thrown from an asynchronous method.- 指定者:
handleUncaughtException
在接口中AsyncUncaughtExceptionHandler
- 参数:
ex
- the exception thrown from the asynchronous methodmethod
- the asynchronous methodparams
- the parameters used to invoked the method