Package org.zalando.fauxpas
Class FauxPas
- java.lang.Object
-
- org.zalando.fauxpas.FauxPas
-
@API(status=STABLE) public final class FauxPas extends Object
-
-
Method Summary
-
-
-
Method Detail
-
throwingRunnable
public static <X extends Throwable> ThrowingRunnable<X> throwingRunnable(ThrowingRunnable<X> runnable)
-
throwingSupplier
public static <T,X extends Throwable> ThrowingSupplier<T,X> throwingSupplier(ThrowingSupplier<T,X> supplier)
-
throwingConsumer
public static <T,X extends Throwable> ThrowingConsumer<T,X> throwingConsumer(ThrowingConsumer<T,X> consumer)
-
throwingFunction
public static <T,R,X extends Throwable> ThrowingFunction<T,R,X> throwingFunction(ThrowingFunction<T,R,X> function)
-
throwingUnaryOperator
public static <T,X extends Throwable> ThrowingUnaryOperator<T,X> throwingUnaryOperator(ThrowingUnaryOperator<T,X> operator)
-
throwingPredicate
public static <T,X extends Throwable> ThrowingPredicate<T,X> throwingPredicate(ThrowingPredicate<T,X> predicate)
-
throwingBiConsumer
public static <T,R,X extends Throwable> ThrowingBiConsumer<T,R,X> throwingBiConsumer(ThrowingBiConsumer<T,R,X> consumer)
-
throwingBiFunction
public static <T,U,R,X extends Throwable> ThrowingBiFunction<T,U,R,X> throwingBiFunction(ThrowingBiFunction<T,U,R,X> function)
-
throwingBinaryOperator
public static <T,X extends Throwable> ThrowingBinaryOperator<T,X> throwingBinaryOperator(ThrowingBinaryOperator<T,X> operator)
-
throwingBiPredicate
public static <T,U,X extends Throwable> ThrowingBiPredicate<T,U,X> throwingBiPredicate(ThrowingBiPredicate<T,U,X> predicate)
-
partially
@API(status=MAINTAINED) public static <T extends Throwable,R> Function<Throwable,R> partially(Class<T> type, ThrowingFunction<T,R,Throwable> function)
-
partially
@API(status=MAINTAINED) public static <R> Function<Throwable,R> partially(ThrowingFunction<Throwable,R,Throwable> function)
-
failedWith
@API(status=EXPERIMENTAL) public static <R,T extends Throwable> ThrowingBiConsumer<R,Throwable,Throwable> failedWith(Class<T> type, ThrowingConsumer<? super T,Throwable> action)
-
handleCompose
@API(status=EXPERIMENTAL) public static <T> CompletableFuture<T> handleCompose(CompletableFuture<T> future, BiFunction<T,Throwable,CompletableFuture<T>> function)
-
exceptionallyCompose
@API(status=EXPERIMENTAL) public static <T> CompletableFuture<T> exceptionallyCompose(CompletableFuture<T> future, Function<Throwable,CompletableFuture<T>> function)
-
-