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 a548a638c..f3893d239 100644
--- a/nova/exception.py
+++ b/nova/exception.py
@@ -553,6 +553,10 @@ 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