// Create download description
List<String> problems =new ArrayList<String>();
for (Iterator iter = orgSet.getOrganisations().iterator(); iter.hasNext();) {
XmlOrganisation org = (XmlOrganisation) iter.next();
for (Iterator iterator = org.getModules().iterator(); iterator.hasNext();) {
XmlModule module = (XmlModule) iterator.next();
try {
downloader.enqueueDownload(org, module);
} catch (Exception ex) {
System.err.println("error while handling "+org.getName()+"/"+module.getName() + " : " +ex.getMessage());
problems.add(org.getName()+ "/" + module.getName());
}
}
}
// Handle problems log