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