pl.fhframework.validation.ConstraintViolation Maven / Gradle / Ivy
package pl.fhframework.validation;
/**
* Constraint violation
*
* Created by Krzysztof Noga on 2016-12-14.
*
* @param
*/
public interface ConstraintViolation {
/**
* @return message describing the violation
*/
String getMessage();
/**
* @return the value of which did not pass validation
*/
T getInvalidValue();
}