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

Base exception class for the POOL system. More...

#include <Exception.h>

Inheritance diagram for pool::Exception:
Collaboration diagram for pool::Exception:

Public Member Functions

 Exception (const std::string &message, const std::string &methodName, const std::string &moduleName)
 Constructor. More...
 
virtual ~Exception () throw ()
 Destructor. More...
 
virtual const char * what () const throw ()
 The error reporting method. More...
 

Private Attributes

std::string m_message
 The name of the module which threw the exception. More...
 

Detailed Description

Base exception class for the POOL system.

Definition at line 14 of file Database/APR/POOLCore/POOLCore/Exception.h.

Constructor & Destructor Documentation

◆ Exception()

pool::Exception::Exception ( const std::string &  message,
const std::string &  methodName,
const std::string &  moduleName 
)

Constructor.

◆ ~Exception()

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

Destructor.

Reimplemented in pool::ITechnologySpecificAttributes::Exception.

Definition at line 23 of file Database/APR/POOLCore/POOLCore/Exception.h.

23 {}

Member Function Documentation

◆ what()

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

The error reporting method.

Definition at line 26 of file Database/APR/POOLCore/POOLCore/Exception.h.

26 { return m_message.c_str(); }

Member Data Documentation

◆ m_message

std::string pool::Exception::m_message
private

The name of the module which threw the exception.

Definition at line 30 of file Database/APR/POOLCore/POOLCore/Exception.h.


The documentation for this class was generated from the following file:
pool::Exception::m_message
std::string m_message
The name of the module which threw the exception.
Definition: Database/APR/POOLCore/POOLCore/Exception.h:30