Merge "Remove 'InvalidParameter' exception type"

This commit is contained in:
Jenkins
2016-12-09 14:26:53 +00:00
committed by Gerrit Code Review
2 changed files with 0 additions and 5 deletions

View File

@@ -50,7 +50,6 @@ class FaultWrapper(wsgi.Middleware):
'Forbidden': webob.exc.HTTPForbidden,
'InternalError': webob.exc.HTTPInternalServerError,
'InvalidGlobalAPIVersion': webob.exc.HTTPNotAcceptable,
'InvalidParameter': webob.exc.HTTPBadRequest,
'InvalidSpec': webob.exc.HTTPBadRequest,
'MethodVersionNotFound': webob.exc.HTTPBadRequest,
'MultipleChoices': webob.exc.HTTPBadRequest,

View File

@@ -103,10 +103,6 @@ class MultipleChoices(SenlinException):
"Please be more specific.")
class InvalidParameter(SenlinException):
msg_fmt = _("Invalid value '%(value)s' specified for '%(name)s'")
class ResourceNotFound(SenlinException):
"""Generic exception for resource not found.