public final void expectAtLeastOneResult(ResultSet rs) throws AdeInternalException, SQLException {
  if (!rs.next()) {
    throw new AdeInternalException("Expecting at least one row from " + m_sql);
  }
}

public final void expectAtLeastOneResult ( ResultSet rs ) throws AdeInternalException , SQLException { if ( ! rs . next ( ) ) { throw new AdeInternalException ( "Expecting at least one row from " + m_sql ) ; } }
verifies given result set contains at least one row . issues a standard error if not . this row is then ready to be obtained from the result set ( next ( ) already called )
