@API(status=STABLE) public final class FauxPas extends Object
public static <X extends Throwable> ThrowingRunnable<X> throwingRunnable(ThrowingRunnable<X> runnable)
public static <T,X extends Throwable> ThrowingSupplier<T,X> throwingSupplier(ThrowingSupplier<T,X> supplier)
public static <T,X extends Throwable> ThrowingConsumer<T,X> throwingConsumer(ThrowingConsumer<T,X> consumer)
public static <T,R,X extends Throwable> ThrowingFunction<T,R,X> throwingFunction(ThrowingFunction<T,R,X> function)
public static <T,X extends Throwable> ThrowingUnaryOperator<T,X> throwingUnaryOperator(ThrowingUnaryOperator<T,X> operator)
public static <T,X extends Throwable> ThrowingPredicate<T,X> throwingPredicate(ThrowingPredicate<T,X> predicate)
public static <T,R,X extends Throwable> ThrowingBiConsumer<T,R,X> throwingBiConsumer(ThrowingBiConsumer<T,R,X> consumer)
public static <T,U,R,X extends Throwable> ThrowingBiFunction<T,U,R,X> throwingBiFunction(ThrowingBiFunction<T,U,R,X> function)
public static <T,X extends Throwable> ThrowingBinaryOperator<T,X> throwingBinaryOperator(ThrowingBinaryOperator<T,X> operator)
public static <T,U,X extends Throwable> ThrowingBiPredicate<T,U,X> throwingBiPredicate(ThrowingBiPredicate<T,U,X> predicate)
@API(status=MAINTAINED) public static <T extends Throwable,R> Function<Throwable,R> partially(Class<T> type, ThrowingFunction<T,R,Throwable> function)
@API(status=MAINTAINED) public static <R> Function<Throwable,R> partially(ThrowingFunction<Throwable,R,Throwable> function)
@API(status=EXPERIMENTAL) public static <R,T extends Throwable> ThrowingBiConsumer<R,Throwable,Throwable> failedWith(Class<T> type, ThrowingConsumer<? super T,Throwable> action)
@API(status=EXPERIMENTAL) public static <T> CompletableFuture<T> handleCompose(CompletableFuture<T> future, BiFunction<T,Throwable,CompletableFuture<T>> function)
@API(status=EXPERIMENTAL) public static <T> CompletableFuture<T> exceptionallyCompose(CompletableFuture<T> future, Function<Throwable,CompletableFuture<T>> function)
Copyright © 2015–2018 Zalando SE. All rights reserved.