summaryrefslogtreecommitdiffstats
path: root/nova/exception.py
diff options
context:
space:
mode:
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.")