Interface TriConsumerWithException<S,​T,​U,​E extends Throwable>

  • Type Parameters:
    S - type of the first argument
    T - type of the first argument
    U - type of the second argument
    E - type of the thrown 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 TriConsumerWithException<S,​T,​U,​E extends Throwable>
    A checked extension of the TriConsumer interface.
    • Method Detail

      • accept

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