Uses of Interface
org.apache.juneau.commons.utils.ThrowableUtils.SupplierWithThrowable
Packages that use ThrowableUtils.SupplierWithThrowable
-
Uses of ThrowableUtils.SupplierWithThrowable in org.apache.juneau.commons.utils
Methods in org.apache.juneau.commons.utils with parameters of type ThrowableUtils.SupplierWithThrowableModifier and TypeMethodDescriptionstatic <T> TThrowableUtils.safeSupplier(ThrowableUtils.SupplierWithThrowable<T> supplier) Executes aThrowableUtils.SupplierWithThrowable; wraps any checked throwable inRuntimeException.static <T> TThrowableUtils.safeSupplier(ThrowableUtils.SupplierWithThrowable<T> supplier, Function<Throwable, RuntimeException> exceptionMapper) Executes aThrowableUtils.SupplierWithThrowable; maps any checked throwable via the provided function.