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

TileCalib Exception base class. More...

#include <Exception.h>

Inherits std::exception.

Inherited by TileCalib::IndexOutOfRange, TileCalib::InvalidBchProblem, TileCalib::InvalidBitPattern, TileCalib::InvalidBlob, TileCalib::InvalidCaloGain, TileCalib::InvalidRawChanUnit, TileCalib::InvalidValue, TileCalib::NoSuchPhase, TileCalib::SizeConflict, TileCalib::TypeConflict, and TileCalib::VersionConflict.

Collaboration diagram for TileCalib::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 Member Functions

void format ()
 

Private Attributes

std::string m_domain
 
std::string m_message
 
std::string m_result
 

Detailed Description

TileCalib Exception base class.

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

Definition at line 22 of file TileCalorimeter/TileCalib/TileCalibBlobObjs/TileCalibBlobObjs/Exception.h.

Constructor & Destructor Documentation

◆ Exception()

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

◆ ~Exception()

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

Member Function Documentation

◆ domain()

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

Definition at line 35 of file TileCalorimeter/TileCalib/TileCalibBlobObjs/TileCalibBlobObjs/Exception.h.

35  {
36  return m_domain;
37  }

◆ format()

void TileCalib::Exception::format ( )
inlineprivate

◆ setMessage()

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

◆ what()

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

Definition at line 31 of file TileCalorimeter/TileCalib/TileCalibBlobObjs/TileCalibBlobObjs/Exception.h.

31  {
32  return m_result.c_str();
33  }

Member Data Documentation

◆ m_domain

std::string TileCalib::Exception::m_domain
private

◆ m_message

std::string TileCalib::Exception::m_message
private

◆ m_result

std::string TileCalib::Exception::m_result
private

The documentation for this class was generated from the following file:
TileCalib::Exception::domain
virtual const std::string & domain() const
Definition: TileCalorimeter/TileCalib/TileCalibBlobObjs/TileCalibBlobObjs/Exception.h:35
TileCalib::Exception::m_result
std::string m_result
Definition: TileCalorimeter/TileCalib/TileCalibBlobObjs/TileCalibBlobObjs/Exception.h:53
ReweightUtils.message
message
Definition: ReweightUtils.py:15
TileCalib::Exception::format
void format()
Definition: TileCalorimeter/TileCalib/TileCalibBlobObjs/TileCalibBlobObjs/Exception.h:46
TileCalib::Exception::m_domain
std::string m_domain
Definition: TileCalorimeter/TileCalib/TileCalibBlobObjs/TileCalibBlobObjs/Exception.h:51
TileCalib::Exception::m_message
std::string m_message
Definition: TileCalorimeter/TileCalib/TileCalibBlobObjs/TileCalibBlobObjs/Exception.h:52