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