Exceptions on DAO for contrainst violations