All Downloads are FREE. Search and download functionalities are using the official Maven repository.

handlebars.Java.BeanValidationException.mustache Maven / Gradle / Ivy

There is a newer version: 1.0.54
Show newest version
package {{invokerPackage}};

import java.util.Set;
{{#jakarta}}
import jakarta.validation.ConstraintViolation;
import jakarta.validation.ValidationException;
{{/jakarta}}
{{^jakarta}}
import javax.validation.ConstraintViolation;
import javax.validation.ValidationException;
{{/jakarta}}

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;
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy