Uses of Interface
org.springframework.util.ErrorHandler
Packages that use ErrorHandler Package Description org.springframework.context.event Support classes for application events, like standard context events.org.springframework.jms.config Support package for declarative messaging configuration, with Java configuration and XML schema support.org.springframework.jms.listener This package contains the base message listener container facility.org.springframework.scheduling.commonj Convenience classes for scheduling based on the CommonJ WorkManager/TimerManager facility, as supported by IBM WebSphere 6.0+ and BEA WebLogic 9.0+.org.springframework.scheduling.concurrent Scheduling convenience classes for thejava.util.concurrent
andjavax.enterprise.concurrent
packages, allowing to set up a ThreadPoolExecutor or ScheduledThreadPoolExecutor as a bean in a Spring context.org.springframework.scheduling.support Generic support classes for scheduling.Uses of ErrorHandler in org.springframework.context.event
Methods in org.springframework.context.event that return ErrorHandler Modifier and Type Method Description protected ErrorHandler
SimpleApplicationEventMulticaster. getErrorHandler()
Return the current error handler for this multicaster.Methods in org.springframework.context.event with parameters of type ErrorHandler Modifier and Type Method Description void
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 ErrorHandler Modifier and Type Method Description void
AbstractJmsListenerContainerFactory. setErrorHandler(ErrorHandler errorHandler)
Uses of ErrorHandler in org.springframework.jms.listener
Methods in org.springframework.jms.listener that return ErrorHandler Modifier and Type Method Description ErrorHandler
AbstractMessageListenerContainer. getErrorHandler()
Return the ErrorHandler to be invoked in case of any uncaught exceptions thrown while processing a Message.Methods in org.springframework.jms.listener with parameters of type ErrorHandler Modifier and Type Method Description void
AbstractMessageListenerContainer. setErrorHandler(ErrorHandler errorHandler)
Set the ErrorHandler to be invoked in case of any uncaught exceptions thrown while processing a Message.Uses of ErrorHandler in org.springframework.scheduling.commonj
Methods in org.springframework.scheduling.commonj with parameters of type ErrorHandler Modifier and Type Method Description void
TimerManagerTaskScheduler. setErrorHandler(ErrorHandler errorHandler)
Deprecated.Provide anErrorHandler
strategy.Uses of ErrorHandler in org.springframework.scheduling.concurrent
Methods in org.springframework.scheduling.concurrent with parameters of type ErrorHandler Modifier and Type Method Description void
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 ErrorHandler Modifier and Type Field Description static ErrorHandler
TaskUtils. LOG_AND_PROPAGATE_ERROR_HANDLER
An ErrorHandler strategy that will log at error level and then re-throw the Exception.static 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 ErrorHandler Modifier and Type Method Description static 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 ErrorHandler Modifier and Type Method Description static DelegatingErrorHandlingRunnable
TaskUtils. decorateTaskWithErrorHandler(Runnable task, ErrorHandler errorHandler, boolean isRepeatingTask)
Decorate the task for error handling.Constructors in org.springframework.scheduling.support with parameters of type ErrorHandler Constructor Description DelegatingErrorHandlingRunnable(Runnable delegate, ErrorHandler errorHandler)
Create a new DelegatingErrorHandlingRunnable.