Modifier and Type | Method and Description |
---|---|
static <T,E extends Throwable> |
SupplierWithThrowable.asSupplierWithThrowable(Supplier<T> supplier)
Utility method to convert SupplierWithThrowable
|
static <T,E extends Throwable> |
SupplierWithThrowable.castSupplierWithThrowable(SupplierWithThrowable<T,E> supplierwiththrowable)
Utility method to mark lambdas of type SupplierWithThrowable
|
default SupplierWithThrowable<T,E> |
SupplierWithThrowable.onException(Consumer<Throwable> consumer) |
default SupplierWithThrowable<T,E> |
SupplierWithThrowable.withLogging()
Will log WARNING level exceptions on logger if they occur within the interface
|
default SupplierWithThrowable<T,E> |
SupplierWithThrowable.withLogging(org.slf4j.Logger logger)
Will log WARNING level exceptions on logger if they occur within the interface
|
default SupplierWithThrowable<T,E> |
SupplierWithThrowable.withLogging(org.slf4j.Logger logger,
String message) |
Modifier and Type | Method and Description |
---|---|
static <T,E extends Throwable> |
SupplierWithThrowable.aSupplierThatUnsafelyThrowsUnchecked(SupplierWithThrowable<T,E> supplierwiththrowable)
Utility method to unwrap lambdas of type Supplier and withUncheckedThrowable any Exception
|
static <T,E extends Throwable> |
SupplierWithThrowable.castSupplierWithThrowable(SupplierWithThrowable<T,E> supplierwiththrowable)
Utility method to mark lambdas of type SupplierWithThrowable
|
Copyright © 2017. All rights reserved.