diff options
| author | Russell Bryant <rbryant@redhat.com> | 2012-05-15 14:43:18 -0400 |
|---|---|---|
| committer | Russell Bryant <rbryant@redhat.com> | 2012-05-15 15:44:14 -0400 |
| commit | 5de77cad7104cff71ce9191296448d3fe50d08c8 (patch) | |
| tree | abf4e8665aa1773ce181101c684fcca82ee328b9 /nova/exception.py | |
| parent | ba76b954e69de56f76f9db5cade1780bc351be67 (diff) | |
Stop using nova.exception from nova.rpc.
This patch is a part of continuing to remove dependencies from nova.rpc
on the rest of nova. One RPC related exception was defined in
nova.exception, so that was moved to nova.rpc.common where the rest of
them live. These exceptions were changed to no longer use NovaException
as their base. Instead, there is a new RPCException base.
One other change that should be reviewed closely is the removal of using
nova.exception.wrap_exception() in nova.rpc.amqp. As far as I can tell,
this didn't actually do anything since nothing was being passed in to
wrap_exception().
Change-Id: I36ff7c05ab0467ad8506b56d561c532eadf8dff8
Diffstat (limited to 'nova/exception.py')
| -rw-r--r-- | nova/exception.py | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/nova/exception.py b/nova/exception.py index c1d02faaa..af4850367 100644 --- a/nova/exception.py +++ b/nova/exception.py @@ -282,10 +282,6 @@ class InvalidCidr(Invalid): message = _("Invalid cidr %(cidr)s.") -class InvalidRPCConnectionReuse(Invalid): - message = _("Invalid reuse of an RPC connection.") - - class InvalidUnicodeParameter(Invalid): message = _("Invalid Parameter: " "Unicode is not supported by the current database.") |
