All Methods Static Methods Concrete Methods
Modifier and Type |
Method and Description |
static <T extends Throwable> Optional<T> |
findCause(Stream<Throwable> causes,
List<Class<? extends T>> classes) |
static <T extends Throwable> Optional<T> |
findCause(Throwable root,
Class<? extends T>... classes) |
static <T extends Throwable> Optional<T> |
findCause(Throwable root,
Class<T> cls) |
static <T extends Throwable> Optional<T> |
findCause(Throwable root,
List<Class<? extends T>> classes) |
static <T extends Throwable> void |
throwIfCausedBy(Throwable root,
Class<? extends T>... classes) |
static <T extends Throwable> void |
throwIfCausedBy(Throwable root,
Class<T> cls) |
static <T extends Throwable> void |
throwIfCausedBy(Throwable root,
List<Class<? extends T>> classes) |
static <T,E extends Exception> T |
uncheck(ThrowableFunctions.ThrowingSupplier<T,E> action) |
static <T,U,R,E extends Exception> BiFunction<T,U,R> |
uncheckBiFunction(ThrowableFunctions.ThrowingBiFunction<T,U,R,E> action) |
static <T,E extends Exception> BinaryOperator<T> |
uncheckBinaryOperator(ThrowableFunctions.ThrowingBinaryOperator<T,E> action) |
static <T,E extends Exception> Consumer<T> |
uncheckConsumer(ThrowableFunctions.ThrowingConsumer<T,E> action) |
static <T,R,E extends Exception> Function<T,R> |
uncheckFunction(ThrowableFunctions.ThrowingFunction<T,R,E> action) |
static <T,E extends Exception> IntFunction<T> |
uncheckIntFunction(ThrowableFunctions.ThrowingIntFunction<T,E> action) |
static <E extends Exception> Runnable |
uncheckRunnable(ThrowableFunctions.ThrowingRunnable<E> action) |
static <T,E extends Exception> Supplier<T> |
uncheckSupplier(ThrowableFunctions.ThrowingSupplier<T,E> action) |
static <T,E extends Exception> Supplier<T> |
uncheckSupplier(ThrowableFunctions.ThrowingSupplier<T,E> action,
Function<Exception,RuntimeException> newException) |