~mbogomilov/maus/devel3

« back to all changes in this revision

Viewing changes to src/common_cpp/API/MapBase-inl.hh

  • 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:
19
19
 
20
20
#include <string>
21
21
#include "src/common_cpp/API/APIExceptions.hh"
22
 
#include "src/legacy/Interface/Squeal.hh"
 
22
#include "Utils/Exception.hh"
23
23
#include "src/common_cpp/Utils/CppErrorHandler.hh"
24
24
#include "src/common_cpp/Converter/ConverterFactory.hh"
25
25
 
51
51
    try {
52
52
      o =  _process(i);
53
53
    }
54
 
    catch(Squeal& s) {
55
 
      CppErrorHandler::getInstance()->HandleSquealNoJson(s, _classname);
 
54
    catch(Exception& s) {
 
55
      CppErrorHandler::getInstance()->HandleExceptionNoJson(s, _classname);
56
56
    }
57
57
    catch(std::exception& e) {
58
58
      CppErrorHandler::getInstance()->HandleStdExcNoJson(e, _classname);
69
69
    try {
70
70
      o = _process(i);
71
71
    }
72
 
    catch(Squeal& s) {
73
 
      CppErrorHandler::getInstance()->HandleSqueal(*i, s, _classname);
 
72
    catch(Exception& s) {
 
73
      CppErrorHandler::getInstance()->HandleException(*i, s, _classname);
74
74
    }
75
75
    catch(std::exception& e) {
76
76
      CppErrorHandler::getInstance()->HandleStdExc(*i, e, _classname);