Interface ThrowingConsumer<T>
public interface ThrowingConsumer<T>
A consumer that permits throwing a checked
Exception.-
Method Summary
-
Method Details
-
accept
-
toUnchecked
Converts this consumer to aConsumer<T>. If this consumer throws a checked exception, the returned consumer wraps the former in aCompletionException.
-