protected ValidationResult postValidate(CatalogInfo info, boolean isNew) {
List<RuntimeException> errors = new ArrayList<RuntimeException>();
if (!extendedValidation) {
return new ValidationResult(null);
}
for (CatalogValidator constraint : getValidators()) {
try {
info.accept(new CatalogValidatorVisitor(constraint, isNew));
} catch (RuntimeException e) {
errors.add(e);
}
}
return new ValidationResult(errors);
}