Interface BiConsumerWithException<T,​U,​E extends Throwable>

  • Type Parameters:
    T - type of the first argument
    U - type of the second argument
    E - type of the thrown exception
    All Known Implementing Classes:
    MergingWindowProcessFunction.DefaultAccMergingConsumer
    Functional Interface:
    This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

    @FunctionalInterface
    public interface BiConsumerWithException<T,​U,​E extends Throwable>
    A checked extension of the BiConsumer interface.
    • Method Detail

      • accept

        void accept​(T t,
                    U u)
             throws E extends Throwable
        Performs this operation on the given arguments.
        Parameters:
        t - the first input argument
        u - the second input argument
        Throws:
        E - in case of an error
        E extends Throwable