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