Re: [openstack-dev] [Neutron] Exceptions in neutron.extension

2013-08-18 Thread Eugene Nikanorov
Exceptions, defined in neutron.extensions are very specific for the code that implements extension. Exceptions defined in neutron.common.exceptions represent common exception classes which are mapped to HTTP error codes. Also, neutron.common.exceptions contain definitions of exceptions specific to

Re: [openstack-dev] [Neutron] Exceptions in neutron.extension

2013-08-18 Thread ZhiQiang Fan
thanks, Matt Riedemann On Sun, Aug 18, 2013 at 9:19 PM, Matt Riedemann wrote: > I don't know what's right but for what it's worth I had cleaned up at > least one case like this where the exception was in both common and an > extension: > > *https://bugs.launchpad.net/neutron/+bug/1210276*

Re: [openstack-dev] [Neutron] Exceptions in neutron.extension

2013-08-18 Thread Matt Riedemann
I don't know what's right but for what it's worth I had cleaned up at least one case like this where the exception was in both common and an extension: https://bugs.launchpad.net/neutron/+bug/1210276 Seems to me like if more than one extension need the same type of exception and the error mes