Interface VoidConsumerWithThrows<T extends Throwable>

Type Parameters:
T - The Throwable that may be thrown by the consumer.
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 VoidConsumerWithThrows<T extends Throwable>
A consumer that accepts no parameters void.
Since:
1.2
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Performs this operation.
  • Method Details

    • accept

      void accept() throws T
      Performs this operation.
      Throws:
      T - If an exception occurs