T - the type of the argument@FunctionalInterface public interface ConsumerWithException<T>
| Modifier and Type | Method and Description |
|---|---|
void |
accept(T t) |
static <T> Consumer<T> |
asConsumer(ConsumerWithException<T> unchecked) |
static <T> Consumer<T> |
asConsumerIgnoreException(ConsumerWithException<T> unchecked) |
default Consumer<T> |
ignoreException() |
default Consumer<T> |
orElseThrow() |
static <T> Consumer<T> asConsumer(ConsumerWithException<T> unchecked)
static <T> Consumer<T> asConsumerIgnoreException(ConsumerWithException<T> unchecked)
Copyright © 2021. All rights reserved.