com.jpattern.orm.validator.OrmOvalValidatorException Maven / Gradle / Ivy
package com.jpattern.orm.validator;
import java.util.Collections;
import java.util.List;
import net.sf.oval.ConstraintViolation;
import com.jpattern.orm.exception.validator.OrmValidatorException;
/**
*
* @author ufo
*
*/
public class OrmOvalValidatorException extends OrmValidatorException {
private static final long serialVersionUID = 1L;
private final List constraintViolations;
public OrmOvalValidatorException(final String message, final List constraintViolations) {
super(message);
this.constraintViolations = Collections.unmodifiableList(constraintViolations);
}
public List getConstraintViolations() {
return this.constraintViolations;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy