handling constraint exceptions in MysqlExceptionBuilder