summaryrefslogtreecommitdiffstats
path: root/nova/exception.py
diff options
context:
space:
mode:
authorChris Behrens <cbehrens@codestud.com>2011-06-29 12:26:04 -0700
committerChris Behrens <cbehrens@codestud.com>2011-06-29 12:26:04 -0700
commit097e25f69a3ce4fe29addf93e4f92fa861aa54dc (patch)
tree31692c181fc854c4e9842b87e99d1559d7337ed8 /nova/exception.py
parent851802e772095b646a7570bf0cc0c6d32be4643c (diff)
parent17d08b9644080265f6feb4d55825de8e4049c991 (diff)
downloadnova-097e25f69a3ce4fe29addf93e4f92fa861aa54dc.tar.gz
nova-097e25f69a3ce4fe29addf93e4f92fa861aa54dc.tar.xz
nova-097e25f69a3ce4fe29addf93e4f92fa861aa54dc.zip
Merged trunk
Diffstat (limited to 'nova/exception.py')
-rw-r--r--nova/exception.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/nova/exception.py b/nova/exception.py
index ef50b144f..5d02e3179 100644
--- a/nova/exception.py
+++ b/nova/exception.py
@@ -558,6 +558,14 @@ class GlobalRoleNotAllowed(NotAllowed):
message = _("Unable to use global role %(role_id)s")
+class ImageRotationNotAllowed(NovaException):
+ message = _("Rotation is not allowed for snapshots")
+
+
+class RotationRequiredForBackup(NovaException):
+ message = _("Rotation param is required for backup image_type")
+
+
#TODO(bcwaldon): EOL this exception!
class Duplicate(NovaException):
pass