Merge "Move exception definitions out of db api"

This commit is contained in:
Jenkins
2013-10-14 21:34:32 +00:00
committed by Gerrit Code Review

View File

@@ -579,6 +579,10 @@ class NoNetworksFound(NotFound):
msg_fmt = _("No networks defined.")
class NoMoreNetworks(NovaException):
msg_fmt = _("No more available networks.")
class NetworkNotFoundForProject(NotFound):
msg_fmt = _("Either Network uuid %(network_uuid)s is not present or "
"is not assigned to the project %(project_id)s.")