Interface ConsumerWithExceptions7<T,E1 extends Throwable,E2 extends Throwable,E3 extends Throwable,E4 extends Throwable,E5 extends Throwable,E6 extends Throwable,E7 extends Throwable>

Type Parameters:
T - the type of the consumed value
E1 - the first type of exceptions
E2 - the second type of exceptions
E3 - the third type of exceptions
E4 - the fourth type of exceptions
E5 - the fifth type of exceptions
E6 - the sixth type of exceptions
E7 - the seventh type of exceptions

public interface ConsumerWithExceptions7<T,E1 extends Throwable,E2 extends Throwable,E3 extends Throwable,E4 extends Throwable,E5 extends Throwable,E6 extends Throwable,E7 extends Throwable>
A consumer that might throw exceptions.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    accept(T t)
    Consumes the given argument.
  • Method Details

    • accept

      void accept(T t) throws E1, E2, E3, E4, E5, E6, E7
      Consumes the given argument.
      Parameters:
      t - the argument
      Throws:
      E1 - a first type of exception thrown by the consumer
      E2 - a second type of exception thrown by the consumer
      E3 - a third type of exception thrown by the consumer
      E4 - a fourth type of exception thrown by the consumer
      E5 - a fifth type of exception thrown by the consumer
      E6 - a sixth type of exception thrown by the consumer
      E7 - a seventh type of exception thrown by the consumer