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