Interface ExceptionProducer<T extends java.lang.RuntimeException>

  • Type Parameters:
    T - runtime exception type
    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 ExceptionProducer<T extends java.lang.RuntimeException>
    Specification of functional interface used by Errors.throwErrors(ExceptionProducer, String, Object...).
    Author:
    Christian Winkler
    • Method Detail

      • produce

        T produce​(java.lang.String message,
                  java.util.List<java.lang.String> errors)