- Improve error handling on export

- Validate FreeMind 0.9 or gretter during import
- Improve login message.
This commit is contained in:
Paulo Gustavo Veiga
2011-04-15 23:22:58 -03:00
parent 405f0d9998
commit 776e216e50
8 changed files with 21 additions and 12 deletions

View File

@@ -50,7 +50,8 @@ public class ImportMapValidator extends MapInfoValidator {
bean.setImportedMap(map);
} catch (ImporterException e) {
errors.rejectValue("mapFile",Messages.IMPORT_MAP_ERROR);
Object[] errorArgs = new Object[]{e.getMessage()};
errors.rejectValue("mapFile", Messages.IMPORT_MAP_ERROR,errorArgs,"FreeMind could not be imported.");
}
}
}