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