Uses of Interface
org.wildfly.common.function.ExceptionConsumer
Packages that use ExceptionConsumer
Package
Description
Types related to management of contextual objects.
Classes which implement useful functions which are missing from
java.util.function.-
Uses of ExceptionConsumer in org.wildfly.common.context
Methods in org.wildfly.common.context with parameters of type ExceptionConsumerModifier and TypeMethodDescriptiondefault <T,E extends Exception>
voidContextual.runExConsumer(ExceptionConsumer<T, E> consumer, T param) Run the given task with this contextual object selected. -
Uses of ExceptionConsumer in org.wildfly.common.function
Methods in org.wildfly.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 org.wildfly.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 org.wildfly.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> exceptionHandler) Converts anExceptionConsumerto a standardConsumerusing the specified exception handler.