diff options
| author | Kevin L. Mitchell <kevin.mitchell@rackspace.com> | 2011-08-02 16:30:41 +0000 |
|---|---|---|
| committer | Kevin L. Mitchell <kevin.mitchell@rackspace.com> | 2011-08-02 16:30:41 +0000 |
| commit | 9c8b8bdf3144b1b0459bd2533cdade3138b643f3 (patch) | |
| tree | 48b50285ba7cd91b9f8affe3e35eeb65127df0f4 /nova/exception.py | |
| parent | 8e7a4e6147cb78b28fc2a2131591dbd37de2fa30 (diff) | |
| parent | 83066aa64ccba34e23063eee661375b11de2161f (diff) | |
pull-up from 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 8c9b45a80..68e6ac937 100644 --- a/nova/exception.py +++ b/nova/exception.py @@ -692,3 +692,11 @@ class PasteConfigNotFound(NotFound): class PasteAppNotFound(NotFound): message = _("Could not load paste app '%(name)s' from %(path)s") + + +class CannotResizeToSameSize(NovaException): + message = _("When resizing, instances must change size!") + + +class CannotResizeToSmallerSize(NovaException): + message = _("Resizing to a smaller size is not supported.") |
