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

com.jpattern.orm.validator.OrmOvalValidatorException Maven / Gradle / Ivy

There is a newer version: 6.3.0
Show newest version
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