Uses of Interface
ch.powerunit.extensions.exceptions.BiConsumerWithException
-
-
Uses of BiConsumerWithException in ch.powerunit.extensions.exceptions
Methods in ch.powerunit.extensions.exceptions that return BiConsumerWithException Modifier and Type Method Description default BiConsumerWithException<T,U,E>
BiConsumerWithException. andThen(BiConsumerWithException<? super T,? super U,? extends E> after)
Returns a composedBiConsumerWithException
that performs, in sequence, this operation followed by theafter
operation.default BiConsumerWithException<T,U,E>
BiFunctionWithException. asBiConsumer()
Converts aBiFunctionWithException
to aBiConsumerWithException
.static <T,U,R,E extends Exception>
BiConsumerWithException<T,U,E>BiFunctionWithException. asBiConsumer(BiFunctionWithException<T,U,R,E> function)
Converts aBiFunctionWithException
to aBiConsumerWithException
.static <T,E extends Exception>
BiConsumerWithException<T,Double,E>ObjDoubleConsumerWithException. asBiConsumer(ObjDoubleConsumerWithException<T,E> operation)
Converts aObjDoubleConsumerWithException
to aBiConsumerWithException
returningnull
.static <T,E extends Exception>
BiConsumerWithException<T,Integer,E>ObjIntConsumerWithException. asBiConsumer(ObjIntConsumerWithException<T,E> operation)
Converts aObjIntConsumerWithException
to aBiConsumerWithException
returningnull
.static <T,E extends Exception>
BiConsumerWithException<T,Long,E>ObjLongConsumerWithException. asBiConsumer(ObjLongConsumerWithException<T,E> operation)
Converts aObjLongConsumerWithException
to aBiConsumerWithException
returningnull
.static <T,U,E extends Exception>
BiConsumerWithException<T,U,E>BiConsumerWithException. failing(Supplier<E> exceptionBuilder)
Returns aBiConsumerWithException
that always throw exception.Methods in ch.powerunit.extensions.exceptions with parameters of type BiConsumerWithException Modifier and Type Method Description default BiConsumerWithException<T,U,E>
BiConsumerWithException. andThen(BiConsumerWithException<? super T,? super U,? extends E> after)
Returns a composedBiConsumerWithException
that performs, in sequence, this operation followed by theafter
operation.static <T,U,R,E extends Exception>
BiFunctionWithException<T,U,R,E>BiConsumerWithException. asBiFunction(BiConsumerWithException<T,U,E> consumer)
Converts aBiConsumerWithException
to aBiFunctionWithException
returningnull
.static <T,U,E extends Exception>
BiConsumer<T,U>BiConsumerWithException. ignored(BiConsumerWithException<T,U,E> consumer)
Converts aBiConsumerWithException
to a liftedBiConsumer
ignoring exception.static <T,U,E extends Exception>
BiConsumer<T,U>BiConsumerWithException. lifted(BiConsumerWithException<T,U,E> consumer)
Converts aBiConsumerWithException
to a liftedBiConsumer
ignoring exception.static <T,U,E extends Exception>
BiFunction<T,U,CompletionStage<Void>>BiConsumerWithException. staged(BiConsumerWithException<T,U,E> consumer)
Converts aBiConsumerWithException
to a stagedBiFunction
.static <T,U,E extends Exception>
BiConsumer<T,U>BiConsumerWithException. unchecked(BiConsumerWithException<T,U,E> consumer)
Converts aBiConsumerWithException
to aBiConsumer
that wraps exception toRuntimeException
.static <T,U,E extends Exception>
BiConsumer<T,U>BiConsumerWithException. unchecked(BiConsumerWithException<T,U,E> consumer, Function<Exception,RuntimeException> exceptionMapper)
Converts aBiConsumerWithException
to aBiConsumer
that wraps exception toRuntimeException
by using the provided mapping function.
-