else if (!overwriteExisting && destFile.exists()) {
throw new RuntimeException("destination file " + destFile.getAbsolutePath()
+ " already exists - set overwriteExisting to true?");
}
else {
final IExportEngine exportEngine = ExportController.getContoller().getFilterMap().get(filter);
exportEngine.export(((MapProxy) map).getDelegate(), destFile);
LogUtils.info("exported " + map.getFile() + " to " + destFile.getAbsolutePath());
}
}