| Modifier and Type | Method and Description |
|---|---|
static <T> SQLSupplier<T> |
SQLSupplier.checked(Supplier<? extends T> supplier)
Returns a supplier that returns the result of the
supplier supplier, and unwraps any UncheckedSQLException that is thrown by
throwing its cause. |
| Modifier and Type | Method and Description |
|---|---|
static <T> Supplier<T> |
SQLSupplier.unchecked(SQLSupplier<? extends T> supplier)
Returns a supplier that returns the result of the
supplier supplier, and wraps any SQLException that is thrown in an
UncheckedSQLException. |
Copyright © 2017. All rights reserved.