接口 ErrorHandler
- 函数接口:
- 这是一个函数接口, 因此可用作 lambda 表达式或方法引用的赋值目标。
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.
- 从以下版本开始:
- 4.0
- 作者:
- Mark Fisher, TODAY 2021/8/21 01:42
-
方法概要
修饰符和类型方法说明voidHandle the given error, possibly rethrowing it as a fatal exception.
-
方法详细资料
-
handleError
Handle the given error, possibly rethrowing it as a fatal exception.
-