接口 ErrorHandler
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.- 从以下版本开始:
- 3.0
- 作者:
- Mark Fisher
方法概要
所有方法 实例方法 抽象方法 修饰符和类型 方法 说明 void
handleError(Throwable t)
Handle the given error, possibly rethrowing it as a fatal exception.
方法详细资料
handleError
void handleError(Throwable t)
Handle the given error, possibly rethrowing it as a fatal exception.