- Type Parameters:
- 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 interface ThrowingSupplier<T>Variation of
Supplierthat allows throwing checked exceptions.
ThrowingSupplieris usually implemented by a lambda and passed to
CheckedExceptionHandler.supplier(ThrowingSupplier). See noexception tutorial.