Modifier and Type | Method and Description |
---|---|
static <T,E extends Throwable> |
BinaryOperatorWithThrowable.asBinaryOperatorWithThrowable(BinaryOperator<T> binaryoperator)
Utility method to convert BinaryOperatorWithThrowable
|
static <T,E extends Throwable> |
BinaryOperatorWithThrowable.castBinaryOperatorWithThrowable(BinaryOperatorWithThrowable<T,E> binaryoperatorwiththrowable)
Utility method to mark lambdas of type BinaryOperatorWithThrowable
|
default BinaryOperatorWithThrowable<T,E> |
BinaryOperatorWithThrowable.onException(BiConsumer<Throwable,Object[]> consumer) |
default BinaryOperatorWithThrowable<T,E> |
BinaryOperatorWithThrowable.onException(Consumer<Throwable> consumer) |
default BinaryOperatorWithThrowable<T,E> |
BinaryOperatorWithThrowable.withLogging()
Will log WARNING level exceptions on logger if they occur within the interface
|
default BinaryOperatorWithThrowable<T,E> |
BinaryOperatorWithThrowable.withLogging(org.slf4j.Logger logger)
Will log WARNING level exceptions on logger if they occur within the interface
|
default BinaryOperatorWithThrowable<T,E> |
BinaryOperatorWithThrowable.withLogging(org.slf4j.Logger logger,
String message) |
Modifier and Type | Method and Description |
---|---|
static <T,E extends Throwable> |
BinaryOperatorWithThrowable.aBinaryOperatorThatUnsafelyThrowsUnchecked(BinaryOperatorWithThrowable<T,E> binaryoperatorwiththrowable)
Utility method to unwrap lambdas of type BinaryOperator and withUncheckedThrowable any Exception
|
static <T,E extends Throwable> |
BinaryOperatorWithThrowable.castBinaryOperatorWithThrowable(BinaryOperatorWithThrowable<T,E> binaryoperatorwiththrowable)
Utility method to mark lambdas of type BinaryOperatorWithThrowable
|
Copyright © 2017. All rights reserved.