Log.logger.log(BasicLevel.ERROR,
" \"" + cfgFile.getPath() + "\", is empty.");
throw new IOException(" \"" + cfgFile.getPath() + "\", is empty.");
}
FileInputStream fis = null;
try {
fis = new FileInputStream(cfgFile);
ObjectInputStream ois = new ObjectInputStream(fis);
a3config = (A3CMLConfig) ois.readObject();
} catch (Exception exc) {
Log.logger.log(BasicLevel.WARN, "Can't load configuration: " + path, exc);
} finally {
if (fis != null) fis.close();
}
if (Log.logger.isLoggable(BasicLevel.DEBUG))
Log.logger.log(BasicLevel.DEBUG,
"Config.load : a3cmlconfig = " + a3config);