Interface ExceptionBiConsumer<T,​U,​E extends java.lang.Exception>

  • 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 ExceptionBiConsumer<T,​U,​E extends java.lang.Exception>
    A two-argument consumer which can throw an exception.
    Author:
    David M. Lloyd
    • Method Detail

      • accept

        void accept​(T t,
                    U u)
             throws E extends java.lang.Exception
        Performs this operation on the given arguments.
        Parameters:
        t - the first argument
        u - the second argument
        Throws:
        E - if an exception occurs
        E extends java.lang.Exception