Uses of Interface
org.springframework.aop.interceptor.AsyncUncaughtExceptionHandler
Packages that use AsyncUncaughtExceptionHandler Package Description org.springframework.aop.interceptor Provides miscellaneous interceptor implementations.org.springframework.scheduling.annotation Java 5 annotation for asynchronous method execution.Uses of AsyncUncaughtExceptionHandler in org.springframework.aop.interceptor
Classes in org.springframework.aop.interceptor that implement AsyncUncaughtExceptionHandler Modifier and Type Class Description classSimpleAsyncUncaughtExceptionHandlerA defaultAsyncUncaughtExceptionHandlerthat simply logs the exception.Methods in org.springframework.aop.interceptor with parameters of type AsyncUncaughtExceptionHandler Modifier and Type Method Description voidAsyncExecutionAspectSupport. setExceptionHandler(AsyncUncaughtExceptionHandler exceptionHandler)Supply theAsyncUncaughtExceptionHandlerto use to handle exceptions thrown by invoking asynchronous methods with avoidreturn type.Constructors in org.springframework.aop.interceptor with parameters of type AsyncUncaughtExceptionHandler Constructor Description AsyncExecutionAspectSupport(Executor defaultExecutor, AsyncUncaughtExceptionHandler exceptionHandler)Create a newAsyncExecutionAspectSupportwith the given exception handler.AsyncExecutionInterceptor(Executor defaultExecutor, AsyncUncaughtExceptionHandler exceptionHandler)Create a newAsyncExecutionInterceptor.Uses of AsyncUncaughtExceptionHandler in org.springframework.scheduling.annotation
Fields in org.springframework.scheduling.annotation with type parameters of type AsyncUncaughtExceptionHandler Modifier and Type Field Description protected Supplier<AsyncUncaughtExceptionHandler>AbstractAsyncConfiguration. exceptionHandlerMethods in org.springframework.scheduling.annotation that return AsyncUncaughtExceptionHandler Modifier and Type Method Description default AsyncUncaughtExceptionHandlerAsyncConfigurer. getAsyncUncaughtExceptionHandler()TheAsyncUncaughtExceptionHandlerinstance to be used when an exception is thrown during an asynchronous method execution withvoidreturn type.AsyncUncaughtExceptionHandlerAsyncConfigurerSupport. getAsyncUncaughtExceptionHandler()Methods in org.springframework.scheduling.annotation with parameters of type AsyncUncaughtExceptionHandler Modifier and Type Method Description voidAsyncAnnotationBeanPostProcessor. setExceptionHandler(AsyncUncaughtExceptionHandler exceptionHandler)Set theAsyncUncaughtExceptionHandlerto use to handle uncaught exceptions thrown by asynchronous method executions.Constructors in org.springframework.scheduling.annotation with parameters of type AsyncUncaughtExceptionHandler Constructor Description AnnotationAsyncExecutionInterceptor(Executor defaultExecutor, AsyncUncaughtExceptionHandler exceptionHandler)Create a newAnnotationAsyncExecutionInterceptorwith the given executor.AsyncAnnotationAdvisor(Executor executor, AsyncUncaughtExceptionHandler exceptionHandler)Create a newAsyncAnnotationAdvisorfor the given task executor.