## 接口的使用
org.springframework.aop.interceptor.AsyncUncaughtExceptionHandler

- 使用AsyncUncaughtExceptionHandler的程序包
  程序包 | 说明
  --- | ---
  org.springframework.aop.interceptor | Provides miscellaneous interceptor implementations.

- - ### org.springframework.aop.interceptor中AsyncUncaughtExceptionHandler的使用

    实现AsyncUncaughtExceptionHandler的org.springframework.aop.interceptor中的类
    限定符和类型 | 类和说明
    --- | ---
    `class` | `SimpleAsyncUncaughtExceptionHandler` A default `AsyncUncaughtExceptionHandler` that simply logs the exception.

    参数类型为AsyncUncaughtExceptionHandler的org.springframework.aop.interceptor中的方法
    限定符和类型 | 方法和说明
    --- | ---
    `void` | AsyncExecutionAspectSupport.`setExceptionHandler(AsyncUncaughtExceptionHandler exceptionHandler)` Supply the `AsyncUncaughtExceptionHandler` to use to handle exceptions thrown by invoking asynchronous methods with a `void` return type.

    参数类型为AsyncUncaughtExceptionHandler的org.springframework.aop.interceptor中的构造器
    构造器和说明
    `AsyncExecutionAspectSupport(Executor defaultExecutor, AsyncUncaughtExceptionHandler exceptionHandler)` Create a new `AsyncExecutionAspectSupport` with the given exception handler.
    `AsyncExecutionInterceptor(Executor defaultExecutor, AsyncUncaughtExceptionHandler exceptionHandler)` Create a new `AsyncExecutionInterceptor`.