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

io.mosip.kernel.masterdata.exception.ValidationException Maven / Gradle / Ivy

There is a newer version: 1.2.1.0
Show newest version
package io.mosip.kernel.masterdata.exception;

import java.util.List;

import io.mosip.kernel.core.exception.BaseUncheckedException;
import io.mosip.kernel.core.exception.ServiceError;

/**
 * Exception to hold validation errors
 * 
 * @author Abhishek Kumar
 * @since 1.0.0
 */
public class ValidationException extends BaseUncheckedException {

	/**
	 * Generated serialVersionUID
	 */
	private static final long serialVersionUID = 8764526395763989084L;

	private List errors;

	public ValidationException(List errors) {
		this.errors = errors;
	}

	public List getErrors() {
		return errors;
	}

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy