接口 ThrowableAction
-
- 函数接口:
- 这是一个函数接口, 因此可用作 lambda 表达式或方法引用的赋值目标。
@FunctionalInterface public interface ThrowableAction
A function interface for action withThrowable
-
-
方法概要
所有方法 静态方法 实例方法 抽象方法 修饰符和类型 方法 说明 voidexecute()Executes the actionstatic voidexecute(ThrowableAction action)ExecutesThrowableAction
-
-
-
方法详细资料
-
execute
static void execute(ThrowableAction action) throws RuntimeException
ExecutesThrowableAction- 参数:
action-ThrowableAction- 抛出:
RuntimeException- wrapExceptiontoRuntimeException
-
-