~mbogomilov/maus/devel3

« back to all changes in this revision

Viewing changes to src/common_cpp/Converter/ConverterFactory-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:
16
16
 */
17
17
#ifndef _SRC_COMMON_CPP_CONVERTER_CONVERTERFACTORY_INL_
18
18
#define _SRC_COMMON_CPP_CONVERTER_CONVERTERFACTORY_INL_
19
 
#include "src/legacy/Interface/Squeal.hh"
 
19
#include "Utils/Exception.hh"
20
20
#include "src/common_cpp/Utils/CppErrorHandler.hh"
21
21
#include "src/common_cpp/Converter/DataConverters/JsonCppSpillConverter.hh"
22
22
#include "src/common_cpp/Converter/DataConverters/CppJsonSpillConverter.hh"
58
58
    try {
59
59
      o = c->convert(i);
60
60
    }
61
 
    catch(Squeal& s) {
62
 
      CppErrorHandler::getInstance()->HandleSquealNoJson(s, "ConverterFactory");
 
61
    catch(Exception& s) {
 
62
      CppErrorHandler::getInstance()->HandleExceptionNoJson(s, "ConverterFactory");
63
63
    }
64
64
    catch(std::exception& e) {
65
65
//       if(c){ delete c; }