Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:26:37

0001 #include "RecoLuminosity/LumiProducer/interface/Exception.h"
0002 lumi::Exception::Exception(const std::string& message, const std::string& methodName, const std::string& moduleName)
0003     : m_message(message + " LUMI :\"" + methodName + "\" from \"" + moduleName + "\" )") {}
0004 lumi::nonCollisionException::nonCollisionException(const std::string& methodName, const std::string& moduleName)
0005     : lumi::Exception("not a collision run", methodName, moduleName) {}
0006 lumi::invalidDataException::invalidDataException(const std::string& message,
0007                                                  const std::string& methodName,
0008                                                  const std::string& moduleName)
0009     : lumi::Exception("invalid data :" + message, methodName, moduleName) {}
0010 lumi::noStableBeamException::noStableBeamException(const std::string& message,
0011                                                    const std::string& methodName,
0012                                                    const std::string& moduleName)
0013     : lumi::Exception("has no stable beam :" + message, methodName, moduleName) {}
0014 lumi::duplicateRunInDataTagException::duplicateRunInDataTagException(const std::string& message,
0015                                                                      const std::string& methodName,
0016                                                                      const std::string& moduleName)
0017     : lumi::Exception("run already registered with the tag " + message, methodName, moduleName) {}