Modifier and Type | Method and Description |
---|---|
static <R,E extends Throwable> |
IntFunctionWithThrowable.asIntFunctionWithThrowable(IntFunction<R> intfunction)
Utility method to convert IntFunctionWithThrowable
|
static <R,E extends Throwable> |
IntFunctionWithThrowable.castIntFunctionWithThrowable(IntFunctionWithThrowable<R,E> intfunctionwiththrowable)
Utility method to mark lambdas of type IntFunctionWithThrowable
|
default IntFunctionWithThrowable<R,E> |
IntFunctionWithThrowable.onException(BiConsumer<Throwable,Object[]> consumer) |
default IntFunctionWithThrowable<R,E> |
IntFunctionWithThrowable.onException(Consumer<Throwable> consumer) |
default IntFunctionWithThrowable<R,E> |
IntFunctionWithThrowable.withLogging()
Will log WARNING level exceptions on logger if they occur within the interface
|
default IntFunctionWithThrowable<R,E> |
IntFunctionWithThrowable.withLogging(org.slf4j.Logger logger)
Will log WARNING level exceptions on logger if they occur within the interface
|
default IntFunctionWithThrowable<R,E> |
IntFunctionWithThrowable.withLogging(org.slf4j.Logger logger,
String message) |
Modifier and Type | Method and Description |
---|---|
static <R,E extends Throwable> |
IntFunctionWithThrowable.aIntFunctionThatUnsafelyThrowsUnchecked(IntFunctionWithThrowable<R,E> intfunctionwiththrowable)
Utility method to unwrap lambdas of type IntFunction and withUncheckedThrowable any Exception
|
static <R,E extends Throwable> |
IntFunctionWithThrowable.castIntFunctionWithThrowable(IntFunctionWithThrowable<R,E> intfunctionwiththrowable)
Utility method to mark lambdas of type IntFunctionWithThrowable
|
Copyright © 2017. All rights reserved.