Volume: add some exception handling with DBException.code