ATLAS Offline Software
Public Member Functions | Protected Member Functions | Private Attributes | List of all members
CaloCond::Exception Class Reference

Calocond Exception base class. More...

#include <Exception.h>

Inheritance diagram for CaloCond::Exception:
Collaboration diagram for CaloCond::Exception:

Public Member Functions

 Exception (const std::string &domain, const std::string &message)
 
virtual ~Exception () throw ()
 
virtual const char * what () const throw ()
 
virtual const std::string & domain () const
 

Protected Member Functions

virtual void setMessage (const std::string &message)
 

Private Attributes

std::string m_domain
 
std::string m_message
 

Detailed Description

Calocond Exception base class.

Author
Nils Gollub nils..nosp@m.goll.nosp@m.ub@ce.nosp@m.rn.c.nosp@m.h

Definition at line 20 of file Calorimeter/CaloCondBlobObjs/CaloCondBlobObjs/Exception.h.

Constructor & Destructor Documentation

◆ Exception()

CaloCond::Exception::Exception ( const std::string &  domain,
const std::string &  message 
)
inlineexplicit

◆ ~Exception()

virtual CaloCond::Exception::~Exception ( )
throw (
)
inlinevirtual

Member Function Documentation

◆ domain()

virtual const std::string& CaloCond::Exception::domain ( ) const
inlinevirtual

Definition at line 30 of file Calorimeter/CaloCondBlobObjs/CaloCondBlobObjs/Exception.h.

30  {
31  return m_domain;
32  }

◆ setMessage()

virtual void CaloCond::Exception::setMessage ( const std::string &  message)
inlineprotectedvirtual

Definition at line 35 of file Calorimeter/CaloCondBlobObjs/CaloCondBlobObjs/Exception.h.

35  {
36  m_message = m_domain + ": " + message;
37  }

◆ what()

virtual const char* CaloCond::Exception::what ( ) const
throw (
)
inlinevirtual

Definition at line 26 of file Calorimeter/CaloCondBlobObjs/CaloCondBlobObjs/Exception.h.

26  {
27  return m_message.c_str();
28  }

Member Data Documentation

◆ m_domain

std::string CaloCond::Exception::m_domain
private

◆ m_message

std::string CaloCond::Exception::m_message
private

The documentation for this class was generated from the following file:
CaloCond::Exception::m_message
std::string m_message
Definition: Calorimeter/CaloCondBlobObjs/CaloCondBlobObjs/Exception.h:41
CaloCond::Exception::m_domain
std::string m_domain
Definition: Calorimeter/CaloCondBlobObjs/CaloCondBlobObjs/Exception.h:40
ReweightUtils.message
message
Definition: ReweightUtils.py:15
CaloCond::Exception::domain
virtual const std::string & domain() const
Definition: Calorimeter/CaloCondBlobObjs/CaloCondBlobObjs/Exception.h:30