Fixing exception messages in db engine driver classes