Changeset 10492 for trunk/FACT++/src/DimServiceInfoList.cc
- Timestamp:
- 04/29/11 12:47:23 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/FACT++/src/DimServiceInfoList.cc
r10429 r10492 437 437 //! 438 438 //! @returns 439 //! The State object containing the description. If t ehserver was439 //! The State object containing the description. If the server was 440 440 //! not found the State object will contain the index -3, if the 441 441 //! state was not found -2. … … 445 445 const ServiceList::const_iterator s = fServiceList.find(server); 446 446 if (s==fServiceList.end()) 447 return State(-3, "", ""); 447 { 448 stringstream str; 449 str << "DimServiceInfoList::GetState: Searching for state #" << state << " server " << server << " not found."; 450 return State(-3, "Server not found", str.str()); 451 } 448 452 449 453 const std::vector<State> &v = s->second.third; … … 453 457 return *i; 454 458 455 return State(-2, "", ""); 459 stringstream str; 460 str << "DimServiceInfoList::GetState: State #" << state << " not found on server " << server << "."; 461 return State(-2, "State not found", str.str()); 456 462 } 457 463
Note:
See TracChangeset
for help on using the changeset viewer.