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.