if (appClassDir.exists() && appClassDir.isDirectory()) {
// It's a directory,it must be ends with "/"
this.appClassPath = appClassDir.getAbsolutePath() + "/";
}
if (!file.exists()) {
throw new MetamorphosisServerStartupException("File " + path + " is not exists");
}
final Ini conf = this.createIni(file);
this.populateAttributes(conf);
}
catch (final IOException e) {
throw new MetamorphosisServerStartupException("Parse configuration failed,path=" + path, e);
}
}