~mbogomilov/maus/devel3

« back to all changes in this revision

Viewing changes to src/common_cpp/JsonCppProcessors/Global/EnumeratorProcessors.cc

  • Committer: Durga Rajaram
  • Date: 2014-01-14 07:07:02 UTC
  • mfrom: (659.1.80 relcand)
  • Revision ID: durga@fnal.gov-20140114070702-2l1fuj1w6rraw7xe
Tags: MAUS-v0.7.6
MAUS-v0.7.6

Show diffs side-by-side

added added

removed removed

Lines of Context:
32
32
            json_int.asInt());
33
33
    return dp;
34
34
  } else {
35
 
    throw(Squeal(
36
 
        Squeal::recoverable,
 
35
    throw(Exception(
 
36
        Exception::recoverable,
37
37
        "Failed to convert json value to enumerator: DetectorPoint",
38
38
        "EnumDetectorPointProcessor::JsonToCpp"
39
39
                 ));
62
62
    (*pd) = static_cast<MAUS::DataStructure::Global::PID>(json_int.asInt());
63
63
    return pd;
64
64
  } else {
65
 
    throw(Squeal(
66
 
        Squeal::recoverable,
 
65
    throw(Exception(
 
66
        Exception::recoverable,
67
67
        "Failed to convert json value to enumerator: PID",
68
68
        "EnumPIDProcessor::JsonToCpp"
69
69
                 ));