@FunctionalInterface public interface ThrowableAction
Throwable| 限定符和类型 | 方法和说明 |
|---|---|
void |
execute()
Executes the action
|
static void |
execute(ThrowableAction action)
Executes
ThrowableAction |
static void execute(ThrowableAction action) throws RuntimeException
ThrowableActionaction - ThrowableActionRuntimeException - wrap Exception to RuntimeExceptionCopyright © 2011–2023 The Apache Software Foundation. All rights reserved.