| Package | Description |
|---|---|
| org.sellcom.core.util.function |
| Modifier and Type | Method and Description |
|---|---|
default ThrowingLongBinaryOperator |
ThrowingLongBinaryOperator.orThrow(Class<? extends RuntimeException> exceptionClass)
Returns a
ThrowingLongBinaryOperator throwing an exception of the given type if this operator throws an exception. |
default ThrowingLongBinaryOperator |
ThrowingLongBinaryOperator.orThrow(Class<? extends RuntimeException> exceptionClass,
String message)
Returns a
ThrowingLongBinaryOperator throwing an exception of the given type if this operator throws an exception. |
default ThrowingLongBinaryOperator |
ThrowingLongBinaryOperator.orTryWith(ThrowingLongBinaryOperator other)
Returns a
ThrowingLongBinaryOperator applying the given operator to the arguments if this operator throws an exception. |
default ThrowingLongBinaryOperator |
ThrowingLongBinaryOperator.orTryWith(ThrowingLongBinaryOperator other,
Consumer<Exception> exceptionConsumer)
Returns a
ThrowingLongBinaryOperator applying the given operator to the arguments if this operator throws an exception. |
| Modifier and Type | Method and Description |
|---|---|
default ThrowingLongBinaryOperator |
ThrowingLongBinaryOperator.orTryWith(ThrowingLongBinaryOperator other)
Returns a
ThrowingLongBinaryOperator applying the given operator to the arguments if this operator throws an exception. |
default ThrowingLongBinaryOperator |
ThrowingLongBinaryOperator.orTryWith(ThrowingLongBinaryOperator other,
Consumer<Exception> exceptionConsumer)
Returns a
ThrowingLongBinaryOperator applying the given operator to the arguments if this operator throws an exception. |