getLogger().error("Error : Couldn't find entity profile '"+profilename+"'-"+profileid+" in database.");
} else {
String outfile = outpath+"/entityprofile_"+profilename+"-"+profileid+".xml";
getLogger().info(outfile+".");
XMLEncoder encoder = new XMLEncoder(new FileOutputStream(outfile));
encoder.writeObject(profile.saveData());
encoder.close();
}
}
}
} catch (Exception e) {