summaryrefslogtreecommitdiffstats
path: root/nova/exception.py
diff options
context:
space:
mode:
authorJenkins <jenkins@review.openstack.org>2012-03-21 16:29:34 +0000
committerGerrit Code Review <review@openstack.org>2012-03-21 16:29:34 +0000
commitf25cb41f5ea351bbbc0abbc1b040cfba8ef25186 (patch)
tree7b28bcca90964650372c18e9034f19aa69f14d74 /nova/exception.py
parent41c57e267752d7cf51a5cbd6bfab7332d218382b (diff)
parent6a38b650c001ec8e6da435856c37a28737401aaf (diff)
downloadnova-f25cb41f5ea351bbbc0abbc1b040cfba8ef25186.tar.gz
nova-f25cb41f5ea351bbbc0abbc1b040cfba8ef25186.tar.xz
nova-f25cb41f5ea351bbbc0abbc1b040cfba8ef25186.zip
Merge "Implement quota classes."
Diffstat (limited to 'nova/exception.py')
-rw-r--r--nova/exception.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/nova/exception.py b/nova/exception.py
index eb0bf382c..75320c2be 100644
--- a/nova/exception.py
+++ b/nova/exception.py
@@ -692,6 +692,10 @@ class ProjectQuotaNotFound(QuotaNotFound):
message = _("Quota for project %(project_id)s could not be found.")
+class QuotaClassNotFound(QuotaNotFound):
+ message = _("Quota class %(class_name)s could not be found.")
+
+
class SecurityGroupNotFound(NotFound):
message = _("Security group %(security_group_id)s not found.")