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