]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Use volume driver specific execeptions.
authorRonen Kat <ronenkat@il.ibm.com>
Mon, 6 Aug 2012 07:11:10 +0000 (10:11 +0300)
committerRonen Kat <ronenkat@il.ibm.com>
Tue, 7 Aug 2012 10:15:53 +0000 (13:15 +0300)
commit3905a9902606871bbe92fe7c48480db3349ea316
tree3d61635b640b23264026872be2f86cb7e216e28e
parente6e1e983695fdc59650c7a4f3013c0e5338144cc
Use volume driver specific execeptions.

Change generic use of exception.Error in the cinder/volume directory
to specific exceptions. The exceptions used in this patch are:
exception.VolumeBackendAPIException
exception.InvalidInput
exception.InvalidVolume
exceptio.VolumeAtatched
Patch includes updates to the appropriate tests as well.

Change-Id: I10407ff3f5babe64e88f445d3529269b7665ee16
cinder/exception.py
cinder/tests/test_HpSanISCSIDriver.py
cinder/tests/test_storwize_svc.py
cinder/tests/test_volume.py
cinder/volume/driver.py
cinder/volume/manager.py
cinder/volume/netapp.py
cinder/volume/san.py
cinder/volume/storwize_svc.py
cinder/volume/xensm.py