code: private void setRecordNumber(LinkedList<String> list)
     {
        try
        {
           String number = list.remove(0);
           m_recordNumber = Integer.valueOf(number);
        }
        catch (NumberFormatException ex)
        {
           // Malformed MPX file: the record number isn't a valid integer
           // Catch the exception here, leaving m_recordNumber as null
           // so we will skip this record entirely.
        }
     }
docs: Pop the record number from the front of the list, and parse it to ensure that
  it is a valid integer.
  
  @param list MPX record