Exceptions employed by the database API.