if (oldAIS.getSQLJJar(sqljJar.getName()) == null)
throw new NoSuchSQLJJarException(sqljJar.getName());
}
else {
if (oldAIS.getSQLJJar(sqljJar.getName()) != null)
throw new DuplicateSQLJJarNameException(sqljJar.getName());
}
sqljJar.setVersion(oldAIS.getGeneration() + 1);
final AkibanInformationSchema newAIS;
if (replace) {
newAIS = aisCloner.clone(oldAIS);