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