| 程序包 | 说明 |
|---|---|
| org.springframework.aop.interceptor |
Provides miscellaneous interceptor implementations.
|
| 限定符和类型 | 类和说明 |
|---|---|
class |
SimpleAsyncUncaughtExceptionHandler
A default
AsyncUncaughtExceptionHandler that simply logs the exception. |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
AsyncExecutionAspectSupport.setExceptionHandler(AsyncUncaughtExceptionHandler exceptionHandler)
Supply the
AsyncUncaughtExceptionHandler to use to handle exceptions
thrown by invoking asynchronous methods with a void return type. |
| 构造器和说明 |
|---|
AsyncExecutionAspectSupport(Executor defaultExecutor,
AsyncUncaughtExceptionHandler exceptionHandler)
Create a new
AsyncExecutionAspectSupport with the given exception handler. |
AsyncExecutionInterceptor(Executor defaultExecutor,
AsyncUncaughtExceptionHandler exceptionHandler)
Create a new
AsyncExecutionInterceptor. |