Remove InvalidParameterValue exception

The InvalidParameterValue exception does not define a meaningful
msg_fmt.  It is currently _("%(err)s"), which is the equivalent of
nothing and does not help with translation.

Replace InvalidParameterValue with Invalid exceptions.

Change-Id: If8b064e446cbc97e380127f360f262be9e8877a1
Closes-Bug: #1538398
This commit is contained in:
Taylor Peoples
2016-01-27 05:06:30 +01:00
parent de307e536e
commit e122c61840
9 changed files with 28 additions and 26 deletions

View File

@@ -88,6 +88,10 @@ msgstr ""
msgid "The target state is not defined"
msgstr ""
#: watcher/applier/actions/migration.py:60
msgid "Migration of type %(migration_type)s is not supported."
msgstr ""
#: watcher/applier/workflow_engine/default.py:126
#, python-format
msgid "The WorkFlow Engine has failed to execute the action %s"
@@ -162,11 +166,6 @@ msgstr ""
msgid "Goal %(goal)s is not defined in Watcher configuration file"
msgstr ""
#: watcher/common/exception.py:139
#, python-format
msgid "%(err)s"
msgstr ""
#: watcher/common/exception.py:143
#, python-format
msgid "Expected a uuid but received %(uuid)s"