Uses of Interface
io.smallrye.common.function.ExceptionConsumer
-
Uses of ExceptionConsumer in io.smallrye.common.function
Methods in io.smallrye.common.function that return ExceptionConsumerModifier and TypeMethodDescriptiondefault ExceptionConsumer<T,E> ExceptionConsumer.andThen(ExceptionConsumer<? super T, ? extends E> after) default ExceptionConsumer<T,E> ExceptionFunction.andThen(ExceptionBiConsumer<? super T, ? super R, ? extends E> after) default ExceptionConsumer<T,E> ExceptionFunction.andThen(ExceptionConsumer<? super R, ? extends E> after) static <T,E extends EE, TT extends T, EE extends Exception>
ExceptionConsumer<TT,EE> Functions.cast(ExceptionConsumer<T, E> consumer) Returns aExceptionConsumerwith identical behavior to the specifiedExceptionConsumerbut with restricted parameter type and relaxed exception type.default ExceptionConsumer<T,E> ExceptionConsumer.compose(ExceptionConsumer<? super T, ? extends E> before) static <T,E extends Exception>
ExceptionConsumer<T,E> Functions.discardingExceptionConsumer()Get a consumer which discards the values it is given.static <E extends Exception>
ExceptionConsumer<ExceptionRunnable<E>,E> Functions.exceptionRunnableConsumer()Get the singleton exception consumer which accepts and runs exception runnable instances.Functions.runnableExceptionConsumer()Get the singleton exception consumer which accepts and runs runnable instances.Methods in io.smallrye.common.function that return types with arguments of type ExceptionConsumerModifier and TypeMethodDescriptionstatic <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 ExceptionConsumerModifier and TypeMethodDescriptiondefault ExceptionBiConsumer<T,U, E> ExceptionBiFunction.andThen(ExceptionConsumer<R, ? extends E> after) default ExceptionConsumer<T,E> ExceptionConsumer.andThen(ExceptionConsumer<? super T, ? extends E> after) default ExceptionConsumer<T,E> ExceptionFunction.andThen(ExceptionConsumer<? super R, ? extends E> after) default ExceptionRunnable<E>ExceptionSupplier.andThen(ExceptionConsumer<? super T, ? extends E> after) static <T,E extends EE, TT extends T, EE extends Exception>
ExceptionConsumer<TT,EE> Functions.cast(ExceptionConsumer<T, E> consumer) Returns aExceptionConsumerwith identical behavior to the specifiedExceptionConsumerbut with restricted parameter type and relaxed exception type.default ExceptionConsumer<T,E> ExceptionConsumer.compose(ExceptionConsumer<? super T, ? extends E> before) static <T,E extends Exception>
ExceptionRunnable<E>Functions.exceptionCapturingRunnable(ExceptionConsumer<T, E> consumer, T param) Get a runnable which executes the given consumer with captured values.Functions.quiet(ExceptionConsumer<T, E> consumer, Consumer<E> handler) Converts anExceptionConsumerto a standardConsumerusing the specified exception handler.