code: public Object next() {
          if(_rs == null)
              throw new NoSuchElementException(Bundle.getErrorString("IteratorFactory_Iterator_noSuchElement"));
  
          try {
              if(!_primed) {
                  _primed = _rs.next();
                  if(!_primed) {
                      throw new NoSuchElementException(Bundle.getErrorString("IteratorFactory_Iterator_noSuchElement"));
                  }
              }
  
              _primed = false;
              return convertRow(_rs, _columnNames);
          }
          catch(SQLException sql) {
              String msg = "An exception occurred reading from the Iterator.  Cause: " + sql;
              LOGGER.error(msg, sql);
              throw new IllegalStateException(msg, sql);
          }
      }
docs: Advance to the next row in the ResultSet.
  
  @return a {@link java.util.Map} containing the data in the next row.  The keys in the map
  correspond to the ResultSet's column names and are case insensitive when checking a key.
  @throws NoSuchElementException if the ResultSet is null or the end of the ResultSet has been reached