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