ATLAS Offline Software
LArOnlID_Exception.cxx
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3 */
4 
6 
7 #include <cstdio>
8 
9 
10 LArOnlID_Exception::operator std::string ()
11 
12 {
13 
14  char * l_str = new char[200];
15  std::string newline(" \n ") ;
16  std::string errorMessage ;
17  sprintf(l_str,"LArOnlID_Exception - Error code: %d ", this->code());
18  errorMessage += std::string(l_str);
19  errorMessage += newline ;
20  errorMessage += this->message() ;
21  delete[] l_str ;
22  return errorMessage ;
23 
24 }
LArOnlID_Exception.h
ReweightUtils.message
message
Definition: ReweightUtils.py:15
pmontree.code
code
Definition: pmontree.py:443
calibdata.newline
newline
Definition: calibdata.py:526