~mwinter4/maus/ckov_0_9_3

« back to all changes in this revision

Viewing changes to src/map/MapCppKLCellHits/MapCppKLCellHits.cc

MergedĀ fromĀ trunk

Show diffs side-by-side

added added

removed removed

Lines of Context:
40
40
    //  this will contain the configuration
41
41
 
42
42
    return true;
43
 
  } catch(Exception exc) {
 
43
  } catch (Exception exc) {
44
44
    MAUS::CppErrorHandler::getInstance()->HandleExceptionNoJson(exc, _classname);
45
 
  } catch(std::exception exc) {
 
45
  } catch (std::exception exc) {
46
46
    MAUS::CppErrorHandler::getInstance()->HandleStdExcNoJson(exc, _classname);
47
47
  }
48
48
 
58
58
  Json::Value xEventType;
59
59
  // Check if the JSON document can be parsed, else return error only
60
60
  try {root = JsonWrapper::StringToJson(document);}
61
 
  catch(...) {
 
61
  catch (...) {
62
62
    Json::Value errors;
63
63
    std::stringstream ss;
64
64
    ss << _classname << " says: Failed to parse input document";
99
99
        }
100
100
      }
101
101
    }
102
 
  } catch(Exception exc) {
 
102
  } catch (Exception exc) {
103
103
    root = MAUS::CppErrorHandler::getInstance()
104
104
                                       ->HandleException(root, exc, _classname);
105
 
  } catch(std::exception exc) {
 
105
  } catch (std::exception exc) {
106
106
    root = MAUS::CppErrorHandler::getInstance()
107
107
                                         ->HandleStdExc(root, exc, _classname);
108
108
  }