Use custom exceptions for Nova DB errors

Change-Id: Idd4af2af80b91cbdc566f47fa7b5e38acc53cd71