Uses of Interface
org.springframework.aop.interceptor.AsyncUncaughtExceptionHandler
Package
Description
Provides miscellaneous interceptor implementations.
Annotation support for asynchronous method execution.
-
Uses of AsyncUncaughtExceptionHandler in org.springframework.aop.interceptor
Modifier and TypeClassDescriptionclass
A defaultAsyncUncaughtExceptionHandler
that simply logs the exception.Modifier and TypeMethodDescriptionvoid
AsyncExecutionAspectSupport.setExceptionHandler
(AsyncUncaughtExceptionHandler exceptionHandler) Supply theAsyncUncaughtExceptionHandler
to use to handle exceptions thrown by invoking asynchronous methods with avoid
return type.ModifierConstructorDescriptionAsyncExecutionAspectSupport
(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
Modifier and TypeFieldDescriptionprotected Supplier<AsyncUncaughtExceptionHandler>
AbstractAsyncConfiguration.exceptionHandler
Modifier and TypeMethodDescriptiondefault AsyncUncaughtExceptionHandler
AsyncConfigurer.getAsyncUncaughtExceptionHandler()
TheAsyncUncaughtExceptionHandler
instance to be used when an exception is thrown during an asynchronous method execution withvoid
return type.AsyncConfigurerSupport.getAsyncUncaughtExceptionHandler()
Deprecated.Modifier and TypeMethodDescriptionvoid
AsyncAnnotationBeanPostProcessor.setExceptionHandler
(AsyncUncaughtExceptionHandler exceptionHandler) Set theAsyncUncaughtExceptionHandler
to use to handle uncaught exceptions thrown by asynchronous method executions.ModifierConstructorDescriptionAnnotationAsyncExecutionInterceptor
(Executor defaultExecutor, AsyncUncaughtExceptionHandler exceptionHandler) Create a newAnnotationAsyncExecutionInterceptor
with the given executor.AsyncAnnotationAdvisor
(Executor executor, AsyncUncaughtExceptionHandler exceptionHandler) Create a newAsyncAnnotationAdvisor
for the given task executor.