io.mosip.admin.packetstatusupdater.exception.ValidationException Maven / Gradle / Ivy
package io.mosip.admin.packetstatusupdater.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;
}
}