- Localized two remaining errors in Task.cpp that were missed.
This commit is contained in:
Paul Beckingham
2014-09-14 12:11:45 -04:00
parent b5f3cfd9a3
commit e93c61ae8d
7 changed files with 20 additions and 2 deletions

View File

@@ -2102,7 +2102,7 @@ void Task::modify (modType type, bool text_required /* = false */)
++modCount;
}
else
throw format ("The duration value '{1}' is not supported.", value);
throw format (STRING_TASK_INVALID_DUR, value);
}
// Need handling for numeric types, used by UDAs.
@@ -2173,7 +2173,7 @@ void Task::modify (modType type, bool text_required /* = false */)
}
else
throw format ("Unrecognized column type '{1}' for column '{2}'", column->type (), name);
throw format (STRING_TASK_INVALID_COL_TYPE, column->type (), name);
// Warn about deprecated/obsolete attribute usage.
legacyAttributeCheck (name);