Uses of Interface
io.smallrye.common.function.ExceptionSupplier
-
Uses of ExceptionSupplier in io.smallrye.common.function
Methods in io.smallrye.common.function that return ExceptionSupplierModifier and TypeMethodDescriptiondefault <R> ExceptionSupplier<R, E> ExceptionSupplier.andThen(ExceptionFunction<? super T, ? extends R, ? extends E> after) Returns a supplier which passes the result of this supplier through the given function.static <T extends TT,E extends EE, TT, EE extends Exception>
ExceptionSupplier<TT, EE> Functions.cast(ExceptionSupplier<T, E> supplier) Returns aExceptionSupplierwith identical behavior to the specifiedExceptionSupplierbut with relaxed return type and relaxed exception type.default ExceptionSupplier<R, E> ExceptionBiFunction.compose(ExceptionSupplier<? extends T, ? extends E> before1, ExceptionSupplier<? extends U, ? extends E> before2) Returns a supplier which passes the results of the given suppliers through this function.default ExceptionSupplier<R, E> ExceptionFunction.compose(ExceptionSupplier<? extends T, ? extends E> before) Returns a supplier which returns the result of this function when applied to the given supplier.static <T,E extends Exception>
ExceptionSupplier<T, E> Functions.constantExceptionSupplier(T value) Get a supplier which always returns the same value.Methods in io.smallrye.common.function that return types with arguments of type ExceptionSupplierModifier and TypeMethodDescriptionstatic <R,E extends Exception>
ExceptionFunction<ExceptionSupplier<R, E>, R, E> Functions.exceptionSupplierFunction()Get the singleton function which accepts a supplier and returns the result of the supplier.static <R,E extends Exception>
ExceptionBiFunction<ExceptionFunction<ExceptionSupplier<R, E>, R, E>, ExceptionSupplier<R, E>, R, E> Functions.exceptionSupplierFunctionBiFunction()Get the singleton function which accepts a function which accepts a supplier, all of which return the result of the supplier.static <R,E extends Exception>
ExceptionBiFunction<ExceptionFunction<ExceptionSupplier<R, E>, R, E>, ExceptionSupplier<R, E>, R, E> Functions.exceptionSupplierFunctionBiFunction()Get the singleton function which accepts a function which accepts a supplier, all of which return the result of the supplier.Methods in io.smallrye.common.function with parameters of type ExceptionSupplierModifier and TypeMethodDescriptionstatic <T extends TT,E extends EE, TT, EE extends Exception>
ExceptionSupplier<TT, EE> Functions.cast(ExceptionSupplier<T, E> supplier) Returns aExceptionSupplierwith identical behavior to the specifiedExceptionSupplierbut with relaxed return type and relaxed exception type.default ExceptionRunnable<E> ExceptionBiConsumer.compose(ExceptionSupplier<? extends T, ? extends E> before1, ExceptionSupplier<? extends U, ? extends E> before2) Returns a runnable which passes the results of the given suppliers through this consumer.default ExceptionSupplier<R, E> ExceptionBiFunction.compose(ExceptionSupplier<? extends T, ? extends E> before1, ExceptionSupplier<? extends U, ? extends E> before2) Returns a supplier which passes the results of the given suppliers through this function.default ExceptionRunnable<E> ExceptionConsumer.compose(ExceptionSupplier<? extends T, ? extends E> before) Returns a runnable which passes the result of the given supplier to this consumer.default ExceptionSupplier<R, E> ExceptionFunction.compose(ExceptionSupplier<? extends T, ? extends E> before) Returns a supplier which returns the result of this function when applied to the given supplier.