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