~verifypn-cpn/verifypn/col_weight_fix

« back to all changes in this revision

Viewing changes to PetriParse/QueryXMLParser.cpp

  • Committer: Peter G. Jensen
  • Date: 2018-05-12 15:14:12 UTC
  • mto: (204.2.1 verifypn)
  • mto: This revision was merged to the branch mainline in revision 205.
  • Revision ID: peter.gjoel@gmail.com-20180512151412-o0nrg0201xq5n31r
fixed usage of error-codes, changes from cout to cerr.

Show diffs side-by-side

added added

removed removed

Lines of Context:
453
453
        }
454
454
        return std::make_shared<OrCondition>(conds);
455
455
    }
456
 
    std::cout << elementName << std::endl;
 
456
    std::cerr << "An error occurred while parsing the query." << std::endl;
 
457
    std::cerr << elementName << std::endl;
457
458
    assert(false);
 
459
    exit(ErrorCode);
458
460
    return nullptr;
459
461
}
460
462