Modifier and Type | Method and Description |
---|---|
static <T,U,R,E extends Throwable> |
BiFunctionWithThrowable.asBiFunctionWithThrowable(BiFunction<T,U,R> bifunction)
Utility method to convert BiFunctionWithThrowable
|
static <T,U,R,E extends Throwable> |
BiFunctionWithThrowable.castBiFunctionWithThrowable(BiFunctionWithThrowable<T,U,R,E> bifunctionwiththrowable)
Utility method to mark lambdas of type BiFunctionWithThrowable
|
default BiFunctionWithThrowable<T,U,R,E> |
BiFunctionWithThrowable.onException(BiConsumer<Throwable,Object[]> consumer) |
default BiFunctionWithThrowable<T,U,R,E> |
BiFunctionWithThrowable.onException(Consumer<Throwable> consumer) |
default BiFunctionWithThrowable<T,U,R,E> |
BiFunctionWithThrowable.withLogging()
Will log WARNING level exceptions on logger if they occur within the interface
|
default BiFunctionWithThrowable<T,U,R,E> |
BiFunctionWithThrowable.withLogging(org.slf4j.Logger logger)
Will log WARNING level exceptions on logger if they occur within the interface
|
default BiFunctionWithThrowable<T,U,R,E> |
BiFunctionWithThrowable.withLogging(org.slf4j.Logger logger,
String message) |
Modifier and Type | Method and Description |
---|---|
static <T,U,R,E extends Throwable> |
BiFunctionWithThrowable.aBiFunctionThatUnsafelyThrowsUnchecked(BiFunctionWithThrowable<T,U,R,E> bifunctionwiththrowable)
Utility method to unwrap lambdas of type BiFunction and withUncheckedThrowable any Exception
|
static <T,U,R,E extends Throwable> |
BiFunctionWithThrowable.castBiFunctionWithThrowable(BiFunctionWithThrowable<T,U,R,E> bifunctionwiththrowable)
Utility method to mark lambdas of type BiFunctionWithThrowable
|
Copyright © 2017. All rights reserved.