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
(@Nullable Executor defaultExecutor, AsyncUncaughtExceptionHandler exceptionHandler) Create a newAsyncExecutionAspectSupport
with the given exception handler.AsyncExecutionInterceptor
(@Nullable Executor defaultExecutor, AsyncUncaughtExceptionHandler exceptionHandler) Create a newAsyncExecutionInterceptor
. -
Uses of AsyncUncaughtExceptionHandler in org.springframework.scheduling.annotation
Modifier and TypeFieldDescriptionprotected @Nullable Supplier<? extends @Nullable AsyncUncaughtExceptionHandler>
AbstractAsyncConfiguration.exceptionHandler
Modifier and TypeMethodDescriptionAsyncConfigurer.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
(@Nullable Executor defaultExecutor, AsyncUncaughtExceptionHandler exceptionHandler) Create a newAnnotationAsyncExecutionInterceptor
with the given executor.AsyncAnnotationAdvisor
(@Nullable Executor executor, @Nullable AsyncUncaughtExceptionHandler exceptionHandler) Create a newAsyncAnnotationAdvisor
for the given task executor.