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