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