Modifier and Type | Method and Description |
---|---|
static <E extends Throwable> |
LongSupplierWithThrowable.asLongSupplierWithThrowable(LongSupplier longsupplier)
Utility method to convert LongSupplierWithThrowable
|
static <E extends Throwable> |
LongSupplierWithThrowable.castLongSupplierWithThrowable(LongSupplierWithThrowable<E> longsupplierwiththrowable)
Utility method to mark lambdas of type LongSupplierWithThrowable
|
default LongSupplierWithThrowable<E> |
LongSupplierWithThrowable.onException(Consumer<Throwable> consumer) |
default LongSupplierWithThrowable<E> |
LongSupplierWithThrowable.withLogging()
Will log WARNING level exceptions on logger if they occur within the interface
|
default LongSupplierWithThrowable<E> |
LongSupplierWithThrowable.withLogging(org.slf4j.Logger logger)
Will log WARNING level exceptions on logger if they occur within the interface
|
default LongSupplierWithThrowable<E> |
LongSupplierWithThrowable.withLogging(org.slf4j.Logger logger,
String message) |
Modifier and Type | Method and Description |
---|---|
static <E extends Throwable> |
LongSupplierWithThrowable.aLongSupplierThatUnsafelyThrowsUnchecked(LongSupplierWithThrowable<E> longsupplierwiththrowable)
Utility method to unwrap lambdas of type LongSupplier and withUncheckedThrowable any Exception
|
static <E extends Throwable> |
LongSupplierWithThrowable.castLongSupplierWithThrowable(LongSupplierWithThrowable<E> longsupplierwiththrowable)
Utility method to mark lambdas of type LongSupplierWithThrowable
|
Copyright © 2017. All rights reserved.