public class ErrorHandlingTaskExecutor extends Object implements TaskExecutor
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 and Description |
---|
ErrorHandlingTaskExecutor(Executor executor,
ErrorHandler errorHandler) |
public ErrorHandlingTaskExecutor(Executor executor, ErrorHandler errorHandler)
public boolean isSyncExecutor()
public void execute(Runnable task)
execute
in interface Executor
execute
in interface TaskExecutor