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