@FunctionalInterface public static interface Throwables.ThrowingRunnable<T extends Throwable>
| 限定符和类型 | 方法和说明 |
|---|---|
static void |
caught(Throwables.ThrowingRunnable<?> runnable) |
static void |
caught(Throwables.ThrowingRunnable<?> runnable,
String message) |
static void |
caught(Throwables.ThrowingRunnable<?> runnable,
Supplier<String> message) |
static <T extends Throwable> |
checked(Throwables.ThrowingRunnable<T> runnable) |
static void |
ignored(Throwables.ThrowingRunnable<?> runnable) |
void |
run() |
static void |
run(Throwables.ThrowingRunnable<?> runnable) |
default <E> Throwables.ThrowingSupplier<E,Throwable> |
toThrowingSupplier(E result) |
default <E> Throwables.ThrowingSupplier<E,Throwable> toThrowingSupplier(E result)
static void run(Throwables.ThrowingRunnable<?> runnable)
static <T extends Throwable> Runnable checked(Throwables.ThrowingRunnable<T> runnable)
static void ignored(Throwables.ThrowingRunnable<?> runnable)
static void caught(Throwables.ThrowingRunnable<?> runnable)
static void caught(Throwables.ThrowingRunnable<?> runnable, String message)
static void caught(Throwables.ThrowingRunnable<?> runnable, Supplier<String> message)
Copyright © 2023. All rights reserved.