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