T - type of the consumed elements.E - type of the exception thrown.@FunctionalInterface public interface ThrowingConsumer<T,E extends Throwable>
Consumer interface enhanced with
the ability to throw an exception.Copyright © 2023 The Apache Software Foundation. All rights reserved.