~chris-rogers/maus/emr_mc_digitization

« back to all changes in this revision

Viewing changes to src/common_cpp/JsonCppProcessors/Common/ObjectProcessorNS/IgnoreItem-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:
33
33
void IgnoreItem<ParentType>::_SetCppChild
34
34
                      (const Json::Value& parent_json, ParentType& parent_cpp) {
35
35
    if (_required && !parent_json.isMember(_branch)) {
36
 
            throw Squeal(Squeal::recoverable,
 
36
            throw MAUS::Exception(Exception::recoverable,
37
37
            "Missing required branch "+_branch+" converting json->cpp",
38
38
            "IgnoreItem::_SetCppChild");
39
39
    }