Java.BeanValidationException.mustache Maven / Gradle / Ivy
package {{invokerPackage}};
import java.util.Set;
import {{javaxPackage}}.validation.ConstraintViolation;
import {{javaxPackage}}.validation.ValidationException;
public class BeanValidationException extends ValidationException {
/**
*
*/
private static final long serialVersionUID = -5294733947409491364L;
Set> violations;
public BeanValidationException(Set> violations) {
this.violations = violations;
}
public Set> getViolations() {
return violations;
}
public void setViolations(Set> violations) {
this.violations = violations;
}
}