org.springframework.util
Interface ErrorHandler
- All Known Implementing Classes:
- TaskUtils.LoggingErrorHandler, TaskUtils.PropagatingErrorHandler
public interface ErrorHandler
A strategy for handling errors. This is especially useful for handling
errors that occur during asynchronous execution of tasks that have been
submitted to a TaskScheduler. In such cases, it may not be possible to
throw the error to the original caller.
- Since:
- 3.0.
- Author:
- Mark Fisher
handleError
void handleError(java.lang.Throwable t)