Consumer.ExceptionThrowing<V,T extends java.lang.Throwable>, Consumer.Noop<V,T extends java.lang.Throwable>| Constructor and Description |
|---|
Consumer.ExceptionThrowing(java.lang.Class<T> throwableType,
java.lang.String message) |
Consumer.ExceptionThrowing(T throwable) |
| Modifier and Type | Method and Description |
|---|---|
void |
consume(V value) |
static <V,T extends java.lang.Throwable> |
consumeAndThrow(java.lang.Class<T> type) |
static <V,T extends java.lang.Throwable> |
consumeAndThrow(java.lang.Class<T> type,
java.lang.String message) |
static <V,T extends java.lang.Throwable> |
consumeAndThrow(T e) |
public Consumer.ExceptionThrowing(@Nonnull
T throwable)
public Consumer.ExceptionThrowing(@Nonnull
java.lang.Class<T> throwableType,
@Nullable
java.lang.String message)
@Nonnull public static <V,T extends java.lang.Throwable> Consumer<V,T> consumeAndThrow(@Nonnull T e)
@Nonnull public static <V,T extends java.lang.Throwable> Consumer<V,T> consumeAndThrow(@Nonnull java.lang.Class<T> type)
@Nonnull public static <V,T extends java.lang.Throwable> Consumer<V,T> consumeAndThrow(@Nonnull java.lang.Class<T> type, @Nullable java.lang.String message)
Copyright © 2013 echocat. All Rights Reserved.