ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/group/trunk/OOPSE-3.0/src/types/DataHolder.hpp
(Generate patch)

Comparing trunk/OOPSE-3.0/src/types/DataHolder.hpp (file contents):
Revision 2544 by tim, Wed Jan 11 19:01:20 2006 UTC vs.
Revision 2717 by gezelter, Mon Apr 17 21:49:12 2006 UTC

# Line 67 | Line 67 | class DataHolder {
67                     bool result = i->second->setData(val);
68                     if (!result ) {
69                       std::stringstream ss;
70 <                  ss <<   "Error in parsing " << keyword << ": expect " << i->second->getParamType() <<"\n";
70 >                  ss <<   "Error in parsing " << keyword << ": expected " << i->second->getParamType() <<"\n";
71                        throw OOPSEException(ss.str());
72                      }
73                }else if (deprecatedKeywords_.find(keyword) != deprecatedKeywords_.end()){
74 <                     std::cout << keyword << " is  deprecated\n";
74 >                     std::cout << keyword << " has been deprecated in OOPSE 3.  Please update your .md file.\n";
75                }else {
76                       std::stringstream ss;
77 <                     ss << keyword << " can not be recognized\n";
77 >                     ss << keyword << " is not a recognized keyword.\n";
78                       throw OOPSEException(ss.str());
79                }
80          }
# Line 84 | Line 84 | class DataHolder {
84            for (i = parameters_.begin(); i != parameters_.end(); ++i) {
85              if (!i->second->isOptional() && i->second->empty()) {
86                  std::stringstream ss;
87 <                ss <<  i->second->getKeyword()  << " must be set\n";
87 >                ss <<  i->second->getKeyword()  << " must be set.\n";
88                  throw OOPSEException(ss.str());
89              }
90            }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines