uk.gov.service.payments.commons.api.exception.ValidationException Maven / Gradle / Ivy
package uk.gov.service.payments.commons.api.exception;
import java.util.List;
public class ValidationException extends RuntimeException {
private List errors;
public ValidationException(List errors) {
this.errors = errors;
}
public List getErrors() {
return errors;
}
}