Uses of Interface
io.smallrye.common.function.ExceptionBiConsumer
-
Uses of ExceptionBiConsumer in io.smallrye.common.function
Methods in io.smallrye.common.function that return ExceptionBiConsumerModifier and TypeMethodDescriptiondefault ExceptionBiConsumer<T, U, E> ExceptionBiConsumer.andThen(ExceptionBiConsumer<? super T, ? super U, ? extends E> after) Returns a consumer which passes the arguments to this consumer followed by the given consumer.default ExceptionBiConsumer<T, U, E> ExceptionBiFunction.andThen(ExceptionConsumer<R, ? extends E> after) Returns a consumer which passes the value given to the given consumer through this function.static <T,E extends EE, TT extends T, U, UU extends U, EE extends Exception>
ExceptionBiConsumer<TT, UU, EE> Functions.cast(ExceptionBiConsumer<T, U, E> consumer) Returns aExceptionBiConsumerwith identical behavior to the specifiedExceptionBiConsumerbut with restricted parameter types and relaxed exception type.static <T> ExceptionBiConsumer<Consumer<T>, T, RuntimeException> Functions.consumerExceptionBiConsumer()Get the singleton consumer which accepts a consumer and an argument to hand to it.static <T,U, E extends Exception>
ExceptionBiConsumer<T, U, E> Functions.discardingExceptionBiConsumer()Get a consumer which discards the values it is given.static <T,E extends Exception>
ExceptionBiConsumer<ExceptionConsumer<T, E>, T, E> Functions.exceptionConsumerBiConsumer()Get the singleton consumer which accepts a consumer and an argument to hand to it.Methods in io.smallrye.common.function with parameters of type ExceptionBiConsumerModifier and TypeMethodDescriptiondefault ExceptionBiConsumer<T, U, E> ExceptionBiConsumer.andThen(ExceptionBiConsumer<? super T, ? super U, ? extends E> after) Returns a consumer which passes the arguments to this consumer followed by the given consumer.default ExceptionConsumer<T, E> ExceptionFunction.andThen(ExceptionBiConsumer<? super T, ? super R, ? extends E> after) Returns a consumer which passes the argument to, and result of, this function to the given consumer.static <T,E extends EE, TT extends T, U, UU extends U, EE extends Exception>
ExceptionBiConsumer<TT, UU, EE> Functions.cast(ExceptionBiConsumer<T, U, E> consumer) Returns aExceptionBiConsumerwith identical behavior to the specifiedExceptionBiConsumerbut with restricted parameter types and relaxed exception type.static <T,U, E extends Exception>
ExceptionRunnable<E> Functions.exceptionCapturingRunnable(ExceptionBiConsumer<T, U, E> consumer, T param1, U param2) Get a runnable which executes the given consumer with captured values.static <T,U, E extends Exception>
BiConsumer<T, U> Functions.quiet(ExceptionBiConsumer<T, U, E> consumer, Consumer<E> handler) Converts anExceptionBiConsumerto a standardBiConsumerusing the specified exception handler.