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