Package com.identityworksllc.iiq.common
Interface Functions.SupplierWithError<T>
-
- All Superinterfaces:
Supplier<T>
- Enclosing class:
- Functions
public static interface Functions.SupplierWithError<T> extends Supplier<T>
An extension of Supplier that allows functional code to throw an exception.If used in a context not expecting this class, the error will be caught, logged, and re-thrown.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default T
get()
T
getWithError()
-