| Package | Description |
|---|---|
| org.sellcom.core.util.function |
| Modifier and Type | Method | Description |
|---|---|---|
default ThrowingBiConsumer<T,U> |
ThrowingBiConsumer.orThrow(java.lang.Class<? extends java.lang.RuntimeException> exceptionClass) |
Returns a
ThrowingBiConsumer throwing an exception of the given type if this operation throws an exception. |
default ThrowingBiConsumer<T,U> |
ThrowingBiConsumer.orThrow(java.lang.Class<? extends java.lang.RuntimeException> exceptionClass,
java.lang.String message) |
Returns a
ThrowingBiConsumer throwing an exception of the given type if this operation throws an exception. |
default ThrowingBiConsumer<T,U> |
ThrowingBiConsumer.orTryWith(ThrowingBiConsumer<? super T,? super U> other) |
Returns a
ThrowingBiConsumer performing the given operation on the arguments if this operation throws an exception. |
default ThrowingBiConsumer<T,U> |
ThrowingBiConsumer.orTryWith(ThrowingBiConsumer<? super T,? super U> other,
java.util.function.Consumer<java.lang.Exception> exceptionConsumer) |
Returns a
ThrowingBiConsumer performing the given operation on the arguments if this operation throws an exception. |
| Modifier and Type | Method | Description |
|---|---|---|
default ThrowingBiConsumer<T,U> |
ThrowingBiConsumer.orTryWith(ThrowingBiConsumer<? super T,? super U> other) |
Returns a
ThrowingBiConsumer performing the given operation on the arguments if this operation throws an exception. |
default ThrowingBiConsumer<T,U> |
ThrowingBiConsumer.orTryWith(ThrowingBiConsumer<? super T,? super U> other,
java.util.function.Consumer<java.lang.Exception> exceptionConsumer) |
Returns a
ThrowingBiConsumer performing the given operation on the arguments if this operation throws an exception. |