Error Messages

- Improved error messages with specific field names rather than types.
This commit is contained in:
Paul Beckingham 2011-05-09 01:05:21 -04:00
parent e22a07156f
commit 93cfbf8dd2
12 changed files with 12 additions and 12 deletions

View file

@ -58,7 +58,7 @@ void ColumnProject::measure (Task& task, int& minimum, int& maximum)
project = project.substr (0, period);
}
else if (_style != "default")
throw std::string ("Unrecognized column format '") + _type + "." + _style + "'";
throw std::string ("Unrecognized column format 'project.") + _style + "'";
minimum = longestWord (project);
maximum = project.length ();