public interface Tryable
| Modifier and Type | Interface and Description |
|---|---|
static interface |
Tryable.TryableExpression |
static interface |
Tryable.TryableSupplier<T> |
| Modifier and Type | Method and Description |
|---|---|
static <T> T |
of(Tryable.TryableSupplier<T> supplier) |
static <X extends java.lang.Throwable,T> |
of(Tryable.TryableSupplier<T> supplier,
java.util.function.Supplier<? extends X> exception) |
static void |
run(Tryable.TryableExpression expression) |
static <T> T of(Tryable.TryableSupplier<T> supplier)
static <X extends java.lang.Throwable,T> T of(Tryable.TryableSupplier<T> supplier, java.util.function.Supplier<? extends X> exception) throws X extends java.lang.Throwable
X extends java.lang.Throwablestatic void run(Tryable.TryableExpression expression)
Copyright © 2016. All Rights Reserved.