Class ErrorHandlingTaskExecutor
java.lang.Object
org.springframework.integration.util.ErrorHandlingTaskExecutor
- All Implemented Interfaces:
Executor,org.springframework.core.task.TaskExecutor
public class ErrorHandlingTaskExecutor
extends Object
implements org.springframework.core.task.TaskExecutor
A
TaskExecutor implementation that wraps an existing Executor
instance in order to catch any exceptions. If an exception is thrown, it
will be handled by the provided ErrorHandler.-
Constructor Summary
ConstructorsConstructorDescriptionErrorHandlingTaskExecutor(Executor executor, org.springframework.util.ErrorHandler errorHandler) -
Method Summary
-
Constructor Details
-
ErrorHandlingTaskExecutor
public ErrorHandlingTaskExecutor(Executor executor, org.springframework.util.ErrorHandler errorHandler)
-
-
Method Details