protected void checkRowPos() throws SQLException {
  checkClosed();
  if (!this.onValidRow) {
    throw SQLError.createSQLException(this.invalidRowReason,SQLError.SQL_STATE_GENERAL_ERROR,getExceptionInterceptor());
  }
}

protected void checkRowPos ( ) throws SQLException { checkClosed ( ) ; if ( ! this . onValidRow ) { throw SQLError . createSQLException ( this . invalidRowReason , SQLError . SQL_STATE_GENERAL_ERROR , getExceptionInterceptor ( ) ) ; } }
ensures that the cursor is positioned on a valid row and that the result set is not closed
