T
- type of the first argumentE
- type of the thrown exceptionpublic interface FutureConsumerWithException<T,E extends Throwable> extends java.util.function.Consumer<T>
Consumer
interface which rethrows exceptions wrapped in a
CompletionException
.Modifier and Type | Method and Description |
---|---|
default void |
accept(T value) |
void |
acceptWithException(T value) |
andThen
Copyright © 2014–2021 The Apache Software Foundation. All rights reserved.