| Modifier and Type | Method and Description |
|---|---|
static <V> Throwing.Predicate<V> |
Throwing.throwingPredicate(Throwing.Predicate<V> predicate) |
| Modifier and Type | Method and Description |
|---|---|
<T extends V> |
When.Value.is(Throwing.Predicate<T> predicate,
Throwing.Function<T,R> result) |
<T extends V,R> |
When.is(Throwing.Predicate<T> predicate,
Throwing.Function<T,R> result) |
<T extends V> |
When.Value.is(Throwing.Predicate<T> predicate,
Throwing.Supplier<R> result) |
<T extends V,R> |
When.is(Throwing.Predicate<T> predicate,
Throwing.Supplier<R> result) |
static <V> Throwing.Predicate<V> |
Throwing.throwingPredicate(Throwing.Predicate<V> predicate) |
Try |
Try.unwrap(Throwing.Predicate<Throwable> predicate)
In case of failure unwrap the exception provided by calling
Throwable.getCause(). |
Try.Value<V> |
Try.Value.unwrap(Throwing.Predicate<Throwable> predicate) |
<X extends Throwable> |
Try.wrap(Throwing.Predicate<X> predicate,
Throwing.Function<X,Throwable> wrapper)
In case of failure wrap an exception matching the given predicate to something else.
|
<X extends Throwable> |
Try.Value.wrap(Throwing.Predicate<X> predicate,
Throwing.Function<X,Throwable> wrapper) |
Copyright © 2017. All rights reserved.