Package de.cwkr.validation.util
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 byErrors.throwErrors(ExceptionProducer, String, Object...).- Author:
- Christian Winkler
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Tproduce(java.lang.String message, java.util.List<java.lang.String> errors)
-
-
-
Method Detail
-
produce
T produce(java.lang.String message, java.util.List<java.lang.String> errors)
-
-