Interface ThrowingConsumer<T,​K extends java.lang.Throwable>


  • public interface ThrowingConsumer<T,​K extends java.lang.Throwable>
    Functional interface that performs an operation that might throw an exception.

    Follows naming scheme of Java 8 functional interfaces.

    • Method Detail

      • accept

        void accept​(T consume)
             throws K extends java.lang.Throwable
        Throws:
        K extends java.lang.Throwable