CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions | Private Attributes
lumi::Exception Class Reference

#include <Exception.h>

Inheritance diagram for lumi::Exception:
lumi::duplicateRunInDataTagException lumi::invalidDataException lumi::nonCollisionException lumi::noStableBeamException

Public Member Functions

 Exception (const std::string &message, const std::string &methodname, const std::string &moduleName)
 
char const * what () const override throw ()
 
 ~Exception () override throw ()
 

Private Attributes

std::string m_message
 

Detailed Description

Definition at line 6 of file Exception.h.

Constructor & Destructor Documentation

Exception::Exception ( const std::string &  message,
const std::string &  methodname,
const std::string &  moduleName 
)

Definition at line 2 of file Exception.cc.

3  : m_message(message + " LUMI :\"" + methodName + "\" from \"" + moduleName + "\" )") {}
std::string m_message
Definition: Exception.h:13
lumi::Exception::~Exception ( )
throw (
)
inlineoverride

Definition at line 9 of file Exception.h.

9 {}

Member Function Documentation

char const* lumi::Exception::what ( ) const
throw (
)
inlineoverride

Definition at line 10 of file Exception.h.

References m_message.

Referenced by lumi::Lumi2DB::retrieveData().

10 { return m_message.c_str(); }
std::string m_message
Definition: Exception.h:13

Member Data Documentation

std::string lumi::Exception::m_message
private

Definition at line 13 of file Exception.h.

Referenced by what().