tool/Command.cpp
changeset 1199 30714bab3a04
parent 1166 006244d53f68
child 1335 09c6fce1ae45
equal deleted inserted replaced
1198:be606e9caba4 1199:30714bab3a04
   117 
   117 
   118 void Command::throwSingleSlaveRequired(unsigned int size) const
   118 void Command::throwSingleSlaveRequired(unsigned int size) const
   119 {
   119 {
   120     stringstream err;
   120     stringstream err;
   121 
   121 
   122     err << "The slave selection matches " << size << "slaves. '"
   122     err << "The slave selection matches " << size << " slaves. '"
   123         << name << "' requires a single slave.";
   123         << name << "' requires a single slave.";
   124 
   124 
   125     throwInvalidUsageException(err);
   125     throwInvalidUsageException(err);
   126 }
   126 }
   127 
   127