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