Package nl.vpro.util

Interface ExceptionUtils.ThrowingConsumer<T>

  • All Superinterfaces:
    Consumer<T>
    Enclosing class:
    ExceptionUtils
    Functional Interface:
    This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

    @FunctionalInterface
    @Deprecated
    public static interface ExceptionUtils.ThrowingConsumer<T>
    extends Consumer<T>
    Deprecated.
    • Method Detail

      • accept

        default void accept​(T e)
        Deprecated.
        Specified by:
        accept in interface Consumer<T>
      • acceptWithException

        void acceptWithException​(T e)
                          throws Exception
        Deprecated.
        Throws:
        Exception