Uses of Interface
org.springframework.util.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
Modifier and TypeMethodDescriptionprotected ErrorHandler
SimpleApplicationEventMulticaster.getErrorHandler()
Return the current error handler for this multicaster.Modifier and TypeMethodDescriptionvoid
SimpleApplicationEventMulticaster.setErrorHandler
(ErrorHandler errorHandler) Set theErrorHandler
to invoke in case an exception is thrown from a listener. -
Uses of ErrorHandler in org.springframework.jms.config
Modifier and TypeMethodDescriptionvoid
AbstractJmsListenerContainerFactory.setErrorHandler
(ErrorHandler errorHandler) -
Uses of ErrorHandler in org.springframework.jms.listener
Modifier and TypeMethodDescriptionAbstractMessageListenerContainer.getErrorHandler()
Return theErrorHandler
to be invoked in case of any uncaught exceptions thrown while processing aMessage
.Modifier and TypeMethodDescriptionvoid
AbstractMessageListenerContainer.setErrorHandler
(ErrorHandler errorHandler) Set theErrorHandler
to be invoked in case of any uncaught exceptions thrown while processing aMessage
. -
Uses of ErrorHandler in org.springframework.scheduling.concurrent
Modifier and TypeMethodDescriptionvoid
ConcurrentTaskScheduler.setErrorHandler
(ErrorHandler errorHandler) Provide anErrorHandler
strategy.void
ThreadPoolTaskScheduler.setErrorHandler
(ErrorHandler errorHandler) Set a customErrorHandler
strategy. -
Uses of ErrorHandler in org.springframework.scheduling.support
Modifier and TypeFieldDescriptionstatic final ErrorHandler
TaskUtils.LOG_AND_PROPAGATE_ERROR_HANDLER
An ErrorHandler strategy that will log at error level and then re-throw the Exception.static final ErrorHandler
TaskUtils.LOG_AND_SUPPRESS_ERROR_HANDLER
An ErrorHandler strategy that will log the Exception but perform no further handling.Modifier and TypeMethodDescriptionstatic ErrorHandler
TaskUtils.getDefaultErrorHandler
(boolean isRepeatingTask) Return the defaultErrorHandler
implementation based on the boolean value indicating whether the task will be repeating or not.Modifier and TypeMethodDescriptionTaskUtils.decorateTaskWithErrorHandler
(Runnable task, ErrorHandler errorHandler, boolean isRepeatingTask) Decorate the task for error handling.ModifierConstructorDescriptionDelegatingErrorHandlingRunnable
(Runnable delegate, ErrorHandler errorHandler) Create a new DelegatingErrorHandlingRunnable.