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

#include <Exception.h>

Inheritance diagram for TCS::Exception:
Collaboration diagram for TCS::Exception:

Public Types

enum  type_t { CONFIG, RUNTIME }
 

Public Member Functions

 Exception (const std::string &msg)
 
virtual ~Exception () throw ()
 
virtual char constwhat () const throw ()
 

Private Attributes

std::string m_msg
 

Detailed Description

Definition at line 21 of file Trigger/TrigT1/L1Topo/L1TopoCommon/L1TopoCommon/Exception.h.

Member Enumeration Documentation

◆ type_t

Enumerator
CONFIG 
RUNTIME 

Definition at line 23 of file Trigger/TrigT1/L1Topo/L1TopoCommon/L1TopoCommon/Exception.h.

23  {
24  CONFIG,
25  RUNTIME
26  };

Constructor & Destructor Documentation

◆ Exception()

TCS::Exception::Exception ( const std::string &  msg)
inline

Definition at line 28 of file Trigger/TrigT1/L1Topo/L1TopoCommon/L1TopoCommon/Exception.h.

28  :
29  m_msg(msg)
30  {}

◆ ~Exception()

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

Member Function Documentation

◆ what()

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

Definition at line 34 of file Trigger/TrigT1/L1Topo/L1TopoCommon/L1TopoCommon/Exception.h.

34 { return m_msg.data(); }

Member Data Documentation

◆ m_msg

std::string TCS::Exception::m_msg
private

The documentation for this class was generated from the following file:
TCS::Exception::RUNTIME
@ RUNTIME
Definition: Trigger/TrigT1/L1Topo/L1TopoCommon/L1TopoCommon/Exception.h:25
TCS::Exception::CONFIG
@ CONFIG
Definition: Trigger/TrigT1/L1Topo/L1TopoCommon/L1TopoCommon/Exception.h:24
TCS::Exception::m_msg
std::string m_msg
Definition: Trigger/TrigT1/L1Topo/L1TopoCommon/L1TopoCommon/Exception.h:37
python.AutoConfigFlags.msg
msg
Definition: AutoConfigFlags.py:7