接口 ThrowableAction
- 函数接口:
- 这是一个函数接口, 因此可用作 lambda 表达式或方法引用的赋值目标。
A function interface for action with
Throwable- 作者:
- xuechao.sxc
- 另请参阅:
-
FunctionThrowable
-
方法概要
修饰符和类型方法说明voidexecute()Executes the actionstatic voidexecute(ThrowableAction action) ExecutesThrowableAction
-
方法详细资料
-
execute
Executes the action- 抛出:
Throwable- if met with error
-
execute
ExecutesThrowableAction- 参数:
action-ThrowableAction- 抛出:
RuntimeException- wrapExceptiontoRuntimeException
-