Modifier and Type | Method and Description |
---|---|
static <E extends Throwable> |
IntSupplierWithThrowable.asIntSupplierWithThrowable(IntSupplier intsupplier)
Utility method to convert IntSupplierWithThrowable
|
static <E extends Throwable> |
IntSupplierWithThrowable.castIntSupplierWithThrowable(IntSupplierWithThrowable<E> intsupplierwiththrowable)
Utility method to mark lambdas of type IntSupplierWithThrowable
|
default IntSupplierWithThrowable<E> |
IntSupplierWithThrowable.onException(Consumer<Throwable> consumer) |
default IntSupplierWithThrowable<E> |
IntSupplierWithThrowable.withLogging()
Will log WARNING level exceptions on logger if they occur within the interface
|
default IntSupplierWithThrowable<E> |
IntSupplierWithThrowable.withLogging(org.slf4j.Logger logger)
Will log WARNING level exceptions on logger if they occur within the interface
|
default IntSupplierWithThrowable<E> |
IntSupplierWithThrowable.withLogging(org.slf4j.Logger logger,
String message) |
Modifier and Type | Method and Description |
---|---|
static <E extends Throwable> |
IntSupplierWithThrowable.aIntSupplierThatUnsafelyThrowsUnchecked(IntSupplierWithThrowable<E> intsupplierwiththrowable)
Utility method to unwrap lambdas of type IntSupplier and withUncheckedThrowable any Exception
|
static <E extends Throwable> |
IntSupplierWithThrowable.castIntSupplierWithThrowable(IntSupplierWithThrowable<E> intsupplierwiththrowable)
Utility method to mark lambdas of type IntSupplierWithThrowable
|
Copyright © 2017. All rights reserved.