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 ErrorHandler
SimpleApplicationEventMulticaster.getErrorHandler()
Return the current error handler for this multicaster.Methods in org.springframework.context.event with parameters of type ErrorHandlerModifier 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
Methods in org.springframework.jms.config with parameters of type ErrorHandlerModifier and TypeMethodDescriptionvoid
AbstractJmsListenerContainerFactory.setErrorHandler
(ErrorHandler errorHandler) -
Uses of ErrorHandler in org.springframework.jms.listener
Methods in org.springframework.jms.listener that return ErrorHandlerModifier and TypeMethodDescriptionAbstractMessageListenerContainer.getErrorHandler()
Return theErrorHandler
to be invoked in case of any uncaught exceptions thrown while processing aMessage
.Methods in org.springframework.jms.listener with parameters of type ErrorHandlerModifier 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
Methods in org.springframework.scheduling.concurrent with parameters of type ErrorHandlerModifier 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
Fields in org.springframework.scheduling.support declared as ErrorHandlerModifier 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.Methods in org.springframework.scheduling.support that return ErrorHandlerModifier 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.Methods in org.springframework.scheduling.support with parameters of type ErrorHandlerModifier and TypeMethodDescriptionTaskUtils.decorateTaskWithErrorHandler
(Runnable task, 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.