Interface ContextManager.SupplierWithException<T,E extends Throwable>

Type Parameters:
T - the type of the result
E - the type of the exception
Enclosing interface:
ContextManager
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public static interface ContextManager.SupplierWithException<T,E extends Throwable>
A variant of Supplier that can throw a checked exception.
  • Method Summary

    Modifier and Type
    Method
    Description
    get()
    Returns the result.
  • Method Details

    • get

      T get() throws E
      Returns the result..
      Returns:
      the result
      Throws:
      E - the exception thrown by the code