public final class ThrowingHelper extends Object
Modifier and Type | Method and Description |
---|---|
static <I1,I2,T extends Throwable> |
wrapAsBiConsumer(ThrowingBiConsumer<I1,I2,T> consumer) |
static <I,T extends Throwable> |
wrapAsConsumer(ThrowingConsumer<I,T> consumer) |
static <I,R,T extends Throwable> |
wrapAsFunction(ThrowingFunction<I,R,T> function) |
static <V,T extends Throwable> |
wrapAsSupplier(ThrowingSupplier<V,T> supplier) |
public static <V,T extends Throwable> Supplier<V> wrapAsSupplier(ThrowingSupplier<V,T> supplier)
public static <I,T extends Throwable> Consumer<I> wrapAsConsumer(ThrowingConsumer<I,T> consumer)
public static <I1,I2,T extends Throwable> BiConsumer<I1,I2> wrapAsBiConsumer(ThrowingBiConsumer<I1,I2,T> consumer)
public static <I,R,T extends Throwable> Function<I,R> wrapAsFunction(ThrowingFunction<I,R,T> function)
Apache Camel