CMS 3D CMS Logo

Public Member Functions | Private Attributes

lumi::Exception Class Reference

#include <Exception.h>

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

List of all members.

Public Member Functions

 Exception (const std::string &message, const std::string &methodname, const std::string &moduleName)
virtual char const * what () const throw ()
virtual ~Exception () 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.

                                                       :m_message(message+" LUMI :\"" + methodName+"\" from \""+moduleName + "\" )") {}
virtual lumi::Exception::~Exception ( ) throw () [inline, virtual]

Definition at line 11 of file Exception.h.

{}

Member Function Documentation

virtual char const* lumi::Exception::what ( ) const throw () [inline, virtual]

Definition at line 12 of file Exception.h.

References m_message.

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

                                            {
      return m_message.c_str();
    }

Member Data Documentation

std::string lumi::Exception::m_message [private]

Definition at line 16 of file Exception.h.

Referenced by what().