Issue #2171359 by sun: Output proper exception message for database RowCountExceptions.