Package aQute.bnd.exceptions
Interface BiConsumerWithException<T,U>
-
- Type Parameters:
T
- the type of the first argumentU
- the type of the second argument
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public interface BiConsumerWithException<T,U>
BiConsumer interface that allows exceptions.
-
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description void
accept(T t, U u)
static <T,U>
java.util.function.BiConsumer<T,U>asBiConsumer(BiConsumerWithException<T,U> unchecked)
static <T,U>
java.util.function.BiConsumer<T,U>asBiConsumerIgnoreException(BiConsumerWithException<T,U> unchecked)
default java.util.function.BiConsumer<T,U>
ignoreException()
default java.util.function.BiConsumer<T,U>
orElseThrow()
-
-
-
Method Detail
-
asBiConsumer
static <T,U> java.util.function.BiConsumer<T,U> asBiConsumer(BiConsumerWithException<T,U> unchecked)
-
asBiConsumerIgnoreException
static <T,U> java.util.function.BiConsumer<T,U> asBiConsumerIgnoreException(BiConsumerWithException<T,U> unchecked)
-
-