tool/main.cpp
changeset 1136 a0982873d655
parent 1134 3356141fa2f8
child 1137 a73c0f54be42
equal deleted inserted replaced
1135:807ec6498502 1136:a0982873d655
   249         func();
   249         func();
   250     } catch (InvalidUsageException &e) {
   250     } catch (InvalidUsageException &e) {
   251         cerr << e.what() << endl << endl;
   251         cerr << e.what() << endl << endl;
   252         displayHelp();
   252         displayHelp();
   253         return 1;
   253         return 1;
   254     } catch (ExecutionFailureException &e) {
   254     } catch (CommandException &e) {
   255         cerr << e.what() << endl;
   255         cerr << e.what() << endl;
   256         return 1;
   256         return 1;
   257     } catch (MasterDeviceException &e) {
   257     } catch (MasterDeviceException &e) {
   258         cerr << e.what() << endl;
   258         cerr << e.what() << endl;
   259         return 1;
   259         return 1;