if(prev != null) {
failures.reportFailure(new AISValidationFailure(new DuplicateIndexIdException(prev.getIndexName(), name)));
}
Integer indexID = index.getIndexId();
if((indexID == null) || (indexID <= 0)) {
failures.reportFailure(new AISValidationFailure(new InvalidIndexIDException(name, indexID)));
}
}