From 5de77cad7104cff71ce9191296448d3fe50d08c8 Mon Sep 17 00:00:00 2001 From: Russell Bryant Date: Tue, 15 May 2012 14:43:18 -0400 Subject: 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 --- nova/exception.py | 4 ---- 1 file changed, 4 deletions(-) (limited to 'nova/exception.py') 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.") -- cgit