| Modifier and Type | Method and Description |
|---|---|
default <TV1 extends V1,TV2 extends V2,TV3 extends V3,X extends Throwable> |
Throwing.Consumer3.onFailure(Class<? extends X> type,
Consumer<X> action)
Execute the given action before throwing the exception.
|
default <TV1 extends V1,TV2 extends V2,TV3 extends V3> |
Throwing.Consumer3.onFailure(Consumer<Throwable> action)
Execute the given action before throwing the exception.
|
static <V1,V2,V3> Throwing.Consumer3<V1,V2,V3> |
Throwing.throwingConsumer(Throwing.Consumer3<V1,V2,V3> action) |
default <TV1 extends V1,TV2 extends V2,TV3 extends V3,X extends Throwable> |
Throwing.Consumer3.unwrap(Class<X> type)
Unwrap an exception and rethrow.
|
default <TV1 extends V1,TV2 extends V2,TV3 extends V3> |
Throwing.Consumer3.wrap(Function<Throwable,Exception> wrapper)
Wrap an exception as new exception provided by the given wrap function.
|
| Modifier and Type | Method and Description |
|---|---|
Try |
Try.ResourceHandler3.run(Throwing.Consumer3<R1,R2,R3> fn) |
static <V1,V2,V3> Throwing.Consumer3<V1,V2,V3> |
Throwing.throwingConsumer(Throwing.Consumer3<V1,V2,V3> action) |
Copyright © 2017. All rights reserved.