code: public void beforeFirst() throws SQLException {
  
          checkClosed();
          checkNotForwardOnly();
  
          if (isOnInsertRow || isRowUpdated) {
              throw Util.sqlExceptionSQL(ErrorCode.X_24513);
          }
          navigator.beforeFirst();
      }
docs: <!-- start generic documentation -->
  Moves the cursor to the front of
  this <code>ResultSet</code> object, just before the
  first row. This method has no effect if the result set contains no rows.
  <!-- end generic documentation -->
  
  @exception SQLException if a database access error
  occurs, this method is called on a closed result set or the
  result set type is <code>TYPE_FORWARD_ONLY</code>
  @exception SQLFeatureNotSupportedException if the JDBC driver does not support
  this method
  @since JDK 1.2 (JDK 1.1.x developers: read the overview for
  JDBCResultSet)