Interface SupplierWithExceptions1<T,E extends Throwable>

Type Parameters:
T - the type of the supplied value
E - the type of the exceptions

public interface SupplierWithExceptions1<T,E extends Throwable>
A supplier that might throw exceptions.
  • Method Summary

    Modifier and Type
    Method
    Description
    get()
    Supplies a value.
  • Method Details

    • get

      T get() throws E
      Supplies a value.
      Returns:
      the supplied value
      Throws:
      E - any exception thrown by the supplier