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 class
SimpleAsyncUncaughtExceptionHandler
A defaultAsyncUncaughtExceptionHandler
that simply logs the exception.Methods in org.springframework.aop.interceptor with parameters of type AsyncUncaughtExceptionHandler Modifier and Type Method Description void
AsyncExecutionAspectSupport. setExceptionHandler(AsyncUncaughtExceptionHandler exceptionHandler)
Supply theAsyncUncaughtExceptionHandler
to use to handle exceptions thrown by invoking asynchronous methods with avoid
return type.Constructors in org.springframework.aop.interceptor with parameters of type AsyncUncaughtExceptionHandler Constructor Description AsyncExecutionAspectSupport(Executor defaultExecutor, AsyncUncaughtExceptionHandler exceptionHandler)
Create a newAsyncExecutionAspectSupport
with 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. exceptionHandler
Methods in org.springframework.scheduling.annotation that return AsyncUncaughtExceptionHandler Modifier and Type Method Description default AsyncUncaughtExceptionHandler
AsyncConfigurer. getAsyncUncaughtExceptionHandler()
TheAsyncUncaughtExceptionHandler
instance to be used when an exception is thrown during an asynchronous method execution withvoid
return type.AsyncUncaughtExceptionHandler
AsyncConfigurerSupport. getAsyncUncaughtExceptionHandler()
Methods in org.springframework.scheduling.annotation with parameters of type AsyncUncaughtExceptionHandler Modifier and Type Method Description void
AsyncAnnotationBeanPostProcessor. setExceptionHandler(AsyncUncaughtExceptionHandler exceptionHandler)
Set theAsyncUncaughtExceptionHandler
to 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 newAnnotationAsyncExecutionInterceptor
with the given executor.AsyncAnnotationAdvisor(Executor executor, AsyncUncaughtExceptionHandler exceptionHandler)
Create a newAsyncAnnotationAdvisor
for the given task executor.