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 68cf1f991..893c0df75 100644
--- a/nova/exception.py
+++ b/nova/exception.py
@@ -825,6 +825,10 @@ class CellNotFound(NotFound):
message = _("Cell %(cell_name)s doesn't exist.")
+class CellExists(Duplicate):
+ message = _("Cell with name %(name)s already exists.")
+
+
class CellRoutingInconsistency(NovaException):
message = _("Inconsistency in cell routing: %(reason)s")