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