- 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

@@ -106,7 +106,7 @@ public class FreemindImporter
if (version != null) {
final VersionNumber mapVersion = new VersionNumber(version);
if (SUPPORTED_FREEMIND_VERSION.isGreaterThan(mapVersion)) {
throw new ImporterException("FreeMind map has been created with '" + mapVersion.getVersion() + "'. Supported FreeMind version is '" + SUPPORTED_FREEMIND_VERSION.getVersion() + "' or greater.");
throw new ImporterException("FreeMind version " + mapVersion.getVersion() + " is not supported.");
}
}