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> TUtils.safeSupplier(ThrowableUtils.SupplierWithThrowable<T> supplier) Allows you to wrap a supplier that throws an exception so that it can be used in a fluent interface.static <T> TUtils.safeSupplier(ThrowableUtils.SupplierWithThrowable<T> supplier, Function<Throwable, RuntimeException> exceptionMapper) Allows you to wrap a supplier that throws an exception with a custom exception mapper.