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