| Modifier and Type | Method and Description |
|---|---|
default <TV1 extends V1,TV2 extends V2,TV3 extends V3,TV4 extends V4,TV5 extends V5,TV6 extends V6,TV7 extends V7,X extends Throwable> |
Throwing.Consumer7.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,TV6 extends V6,TV7 extends V7> |
Throwing.Consumer7.onFailure(Consumer<Throwable> action)
Execute the given action before throwing the exception.
|
static <V1,V2,V3,V4,V5,V6,V7> |
Throwing.throwingConsumer(Throwing.Consumer7<V1,V2,V3,V4,V5,V6,V7> action) |
default <TV1 extends V1,TV2 extends V2,TV3 extends V3,TV4 extends V4,TV5 extends V5,TV6 extends V6,TV7 extends V7,X extends Throwable> |
Throwing.Consumer7.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,TV6 extends V6,TV7 extends V7> |
Throwing.Consumer7.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,V6,V7> |
Throwing.throwingConsumer(Throwing.Consumer7<V1,V2,V3,V4,V5,V6,V7> action) |
Copyright © 2017. All rights reserved.