Package org.apache.juneau.commons.utils
Interface ThrowableUtils.SupplierWithThrowable<T>
- Type Parameters:
T- The supplier type.
- Enclosing class:
- ThrowableUtils
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Interface used with
Utils.safeSupplier(SupplierWithThrowable).-
Method Summary
-
Method Details
-
get
Gets a result.- Returns:
- a result
- Throws:
Throwable- if supplier threw an exception.
-