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