Improved exceptions and commandName usage.

This commit is contained in:
Florian Pose
2008-07-23 08:06:10 +00:00
parent 206990db10
commit ca217cf27d
14 changed files with 100 additions and 106 deletions
+1 -1
View File
@@ -251,7 +251,7 @@ int Command::execute() const
cerr << e.what() << endl << endl;
displayHelp();
return 1;
} catch (ExecutionFailureException &e) {
} catch (CommandException &e) {
cerr << e.what() << endl;
return 1;
} catch (MasterDeviceException &e) {