~chris-rogers/maus/emr_mc_digitization

« back to all changes in this revision

Viewing changes to src/common_cpp/JsonCppProcessors/Common/ObjectProcessorNS/BaseClassItem-inl.hh

  • Committer: Chris Rogers
  • Date: 2014-04-16 11:48:45 UTC
  • mfrom: (707 merge)
  • mto: This revision was merged to the branch mainline in revision 711.
  • Revision ID: chris.rogers@stfc.ac.uk-20140416114845-h3u3q7pdcxkxvovs
Update to trunk

Show diffs side-by-side

added added

removed removed

Lines of Context:
37
37
                      (const Json::Value& parent_json, ParentType& parent_cpp) {
38
38
    if (!parent_json.isMember(_branch)) {
39
39
        if (_required) {
40
 
            throw Squeal(Squeal::recoverable,
 
40
            throw MAUS::Exception(Exception::recoverable,
41
41
            "Missing required branch "+_branch+" converting json->cpp",
42
42
            "BaseClassItem::_SetCppChild");
43
43
        } else {