Interface ConsumerWithExceptions<T>

Type Parameters:
T - the type of the consumed value

public interface ConsumerWithExceptions<T>
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 Throwable
      Consumes the given argument.
      Parameters:
      t - the argument
      Throws:
      Throwable - any exception thrown by the consumer