| Modifier and Type | Method and Description |
|---|---|
default <TV1 extends V1,TV2 extends V2,TV3 extends V3,TV4 extends V4,TV5 extends V5,X extends Throwable> |
Throwing.Consumer5.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,TV4 extends V4,TV5 extends V5> |
Throwing.Consumer5.onFailure(Consumer<Throwable> action)
Execute the given action before throwing the exception.
|
static <V1,V2,V3,V4,V5> |
Throwing.throwingConsumer(Throwing.Consumer5<V1,V2,V3,V4,V5> action) |
default <TV1 extends V1,TV2 extends V2,TV3 extends V3,TV4 extends V4,TV5 extends V5,X extends Throwable> |
Throwing.Consumer5.unwrap(Class<X> type)
Unwrap an exception and rethrow.
|
default <TV1 extends V1,TV2 extends V2,TV3 extends V3,TV4 extends V4,TV5 extends V5> |
Throwing.Consumer5.wrap(Function<Throwable,Exception> wrapper)
Wrap an exception as new exception provided by the given wrap function.
|
| Modifier and Type | Method and Description |
|---|---|
static <V1,V2,V3,V4,V5> |
Throwing.throwingConsumer(Throwing.Consumer5<V1,V2,V3,V4,V5> action) |
Copyright © 2017. All rights reserved.