Module it.tidalwave.util
Package it.tidalwave.util
Interface ContextManager.SupplierWithException<T,E extends Throwable>
- Type Parameters:
T- the type of the resultE- 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
-
Method Details
-
get
Returns the result..- Returns:
- the result
- Throws:
E- the exception thrown by the code
-