@FunctionalInterface
public interface ThrowsSupplier<T>
Supplier
The main difference between Supplier and ThrowsSupplier is that this one can
throw an exception
| Modifier and Type | Method and Description |
|---|---|
T |
get()
Gets a result.
|
T get() throws java.lang.Throwable
java.lang.Throwable - Any checked or unchecked exception or throwable