tool/Command.cpp
changeset 2590 0e207abed88a
parent 2589 2b9c78543663
equal deleted inserted replaced
2589:2b9c78543663 2590:0e207abed88a
   268     return str.str();
   268     return str.str();
   269 }
   269 }
   270 
   270 
   271 /*****************************************************************************/
   271 /*****************************************************************************/
   272 
   272 
   273 void Command::throwInvalidUsageException(const stringstream &s) const
   273 void Command::throwInvalidUsageException(const stringstream &s)
   274 {
   274 {
   275     throw InvalidUsageException(s);
   275     throw InvalidUsageException(s);
   276 }
   276 }
   277 
   277 
   278 /*****************************************************************************/
   278 /*****************************************************************************/
   279 
   279 
   280 void Command::throwCommandException(const string &msg) const
   280 void Command::throwCommandException(const string &msg)
   281 {
   281 {
   282     throw CommandException(msg);
   282     throw CommandException(msg);
   283 }
   283 }
   284 
   284 
   285 /*****************************************************************************/
   285 /*****************************************************************************/
   286 
   286 
   287 void Command::throwCommandException(const stringstream &s) const
   287 void Command::throwCommandException(const stringstream &s)
   288 {
   288 {
   289     throw CommandException(s);
   289     throw CommandException(s);
   290 }
   290 }
   291 
   291 
   292 /*****************************************************************************/
   292 /*****************************************************************************/