Uses of Interface
org.springframework.util.ErrorHandler
Packages that use ErrorHandler
Package
Description
Support classes for application events, like standard context events.
Support package for declarative messaging configuration,
with Java configuration and XML schema support.
This package contains the base message listener container facility.
Scheduling convenience classes for the
java.util.concurrent
and jakarta.enterprise.concurrent packages, allowing to set up a
ThreadPoolExecutor or ScheduledThreadPoolExecutor as a bean in a Spring
context.Generic support classes for scheduling.
-
Uses of ErrorHandler in org.springframework.context.event
Methods in org.springframework.context.event that return ErrorHandlerModifier and TypeMethodDescriptionprotected @Nullable ErrorHandlerSimpleApplicationEventMulticaster.getErrorHandler()Return the current error handler for this multicaster.Methods in org.springframework.context.event with parameters of type ErrorHandlerModifier and TypeMethodDescriptionvoidSimpleApplicationEventMulticaster.setErrorHandler(@Nullable ErrorHandler errorHandler) Set theErrorHandlerto invoke in case an exception is thrown from a listener. -
Uses of ErrorHandler in org.springframework.jms.config
Methods in org.springframework.jms.config with parameters of type ErrorHandlerModifier and TypeMethodDescriptionvoidAbstractJmsListenerContainerFactory.setErrorHandler(ErrorHandler errorHandler) -
Uses of ErrorHandler in org.springframework.jms.listener
Methods in org.springframework.jms.listener that return ErrorHandlerModifier and TypeMethodDescriptionAbstractMessageListenerContainer.getErrorHandler()Return theErrorHandlerto be invoked in case of any uncaught exceptions thrown while processing aMessage.Methods in org.springframework.jms.listener with parameters of type ErrorHandlerModifier and TypeMethodDescriptionvoidAbstractMessageListenerContainer.setErrorHandler(@Nullable ErrorHandler errorHandler) Set theErrorHandlerto be invoked in case of any uncaught exceptions thrown while processing aMessage. -
Uses of ErrorHandler in org.springframework.scheduling.concurrent
Methods in org.springframework.scheduling.concurrent with parameters of type ErrorHandlerModifier and TypeMethodDescriptionvoidConcurrentTaskScheduler.setErrorHandler(ErrorHandler errorHandler) Provide anErrorHandlerstrategy.voidSimpleAsyncTaskScheduler.setErrorHandler(ErrorHandler errorHandler) Provide anErrorHandlerstrategy.voidThreadPoolTaskScheduler.setErrorHandler(ErrorHandler errorHandler) Set a customErrorHandlerstrategy. -
Uses of ErrorHandler in org.springframework.scheduling.support
Fields in org.springframework.scheduling.support declared as ErrorHandlerModifier and TypeFieldDescriptionstatic final ErrorHandlerTaskUtils.LOG_AND_PROPAGATE_ERROR_HANDLERAn ErrorHandler strategy that will log at error level and then re-throw the Exception.static final ErrorHandlerTaskUtils.LOG_AND_SUPPRESS_ERROR_HANDLERAn ErrorHandler strategy that will log the Exception but perform no further handling.Methods in org.springframework.scheduling.support that return ErrorHandlerModifier and TypeMethodDescriptionstatic ErrorHandlerTaskUtils.getDefaultErrorHandler(boolean isRepeatingTask) Return the defaultErrorHandlerimplementation based on the boolean value indicating whether the task will be repeating or not.Methods in org.springframework.scheduling.support with parameters of type ErrorHandlerModifier and TypeMethodDescriptionTaskUtils.decorateTaskWithErrorHandler(Runnable task, @Nullable ErrorHandler errorHandler, boolean isRepeatingTask) Decorate the task for error handling.Constructors in org.springframework.scheduling.support with parameters of type ErrorHandlerModifierConstructorDescriptionDelegatingErrorHandlingRunnable(Runnable delegate, ErrorHandler errorHandler) Create a new DelegatingErrorHandlingRunnable.