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

com.jpattern.orm.validator.OrmJSR303ValidatorException 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.Set;

import javax.validation.ConstraintViolation;

import com.jpattern.orm.exception.validator.OrmValidatorException;

/**
 * 
 * @author ufo
 *
 */
public class OrmJSR303ValidatorException extends OrmValidatorException {

	private static final long serialVersionUID = 1L;
	private final Set> constraintViolations;

	public OrmJSR303ValidatorException(final String message, final Set> constraintViolations) {
		super(message);
		this.constraintViolations = Collections.unmodifiableSet(constraintViolations);
	}

	public Set> getConstraintViolations() {
		return this.constraintViolations;
	}

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy