public class ThrowOptional extends Object
| 限定符和类型 | 方法和说明 |
|---|---|
void |
catchDo() |
void |
catchDo(java.util.function.Consumer<Throwable> consumer) |
void |
catchDo(DoSomething doSomething) |
static ThrowOptional |
tryDo(DoSomething doSomething) |
public static ThrowOptional tryDo(DoSomething doSomething)
public void catchDo()
public void catchDo(DoSomething doSomething)
public void catchDo(java.util.function.Consumer<Throwable> consumer)
Copyright © 2024. All rights reserved.