diff options
| author | Chris Behrens <cbehrens@codestud.com> | 2011-06-29 12:26:04 -0700 |
|---|---|---|
| committer | Chris Behrens <cbehrens@codestud.com> | 2011-06-29 12:26:04 -0700 |
| commit | 097e25f69a3ce4fe29addf93e4f92fa861aa54dc (patch) | |
| tree | 31692c181fc854c4e9842b87e99d1559d7337ed8 /nova/exception.py | |
| parent | 851802e772095b646a7570bf0cc0c6d32be4643c (diff) | |
| parent | 17d08b9644080265f6feb4d55825de8e4049c991 (diff) | |
| download | nova-097e25f69a3ce4fe29addf93e4f92fa861aa54dc.tar.gz nova-097e25f69a3ce4fe29addf93e4f92fa861aa54dc.tar.xz nova-097e25f69a3ce4fe29addf93e4f92fa861aa54dc.zip | |
Merged trunk
Diffstat (limited to 'nova/exception.py')
| -rw-r--r-- | nova/exception.py | 8 |
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 |
