summaryrefslogtreecommitdiffstats
path: root/nova/exception.py
diff options
context:
space:
mode:
authorTushar Patil <tushar.vitthal.patil@gmail.com>2011-08-16 16:18:48 -0700
committerTushar Patil <tushar.vitthal.patil@gmail.com>2011-08-16 16:18:48 -0700
commit982427040554d3cfcee25abab981215f73650b3e (patch)
tree17fdd26910568059637e6b203f3284d64402579a /nova/exception.py
parent9081e8b62ea01828238ecaebdcf3e627ada3fe9a (diff)
parent6dbcc60d5f8d4995a706f0de449756ecea4ebaa0 (diff)
downloadnova-982427040554d3cfcee25abab981215f73650b3e.tar.gz
nova-982427040554d3cfcee25abab981215f73650b3e.tar.xz
nova-982427040554d3cfcee25abab981215f73650b3e.zip
Resolved conflicts and merged with trunk
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 c68c89cad..97275fa25 100644
--- a/nova/exception.py
+++ b/nova/exception.py
@@ -756,3 +756,7 @@ class CannotResizeToSameSize(NovaException):
class CannotResizeToSmallerSize(NovaException):
message = _("Resizing to a smaller size is not supported.")
+
+
+class ImageTooLarge(NovaException):
+ message = _("Image is larger than instance type allows")