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