Interface SupplierWithExceptions4<T,E1 extends Throwable,E2 extends Throwable,E3 extends Throwable,E4 extends Throwable>

Type Parameters:
T - the type of the supplied value
E1 - the first type of exceptions
E2 - the second type of exceptions
E3 - the third type of exceptions
E4 - the fourth type of exceptions

public interface SupplierWithExceptions4<T,E1 extends Throwable,E2 extends Throwable,E3 extends Throwable,E4 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 E1, E2, E3, E4
      Supplies a value.
      Returns:
      the supplied value
      Throws:
      E1 - a first type of exceptions thrown by the supplier
      E2 - a second type of exceptions thrown by the supplier
      E3 - a third type of exceptions thrown by the supplier
      E4 - a fourth type of exceptions thrown by the supplier