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

Exception class thrown by the classes in the PersistencySvc package. More...

#include <PersistencySvcException.h>

Inheritance diagram for pool::PersistencySvcException:
Collaboration diagram for pool::PersistencySvcException:

Public Member Functions

 PersistencySvcException (const std::string &message, const std::string &methodName)
 Constructor. 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

Exception class thrown by the classes in the PersistencySvc package.

Definition at line 13 of file PersistencySvcException.h.

Constructor & Destructor Documentation

◆ PersistencySvcException()

pool::PersistencySvcException::PersistencySvcException ( const std::string &  message,
const std::string &  methodName 
)
inline

Constructor.

Definition at line 16 of file PersistencySvcException.h.

17  :
18  pool::Exception( message, methodName, "PersistencySvc" )
19  {}

Member Function Documentation

◆ what()

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

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
privateinherited

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:
ReweightUtils.message
message
Definition: ReweightUtils.py:15
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
pool::Exception
Base exception class for the POOL system.
Definition: Database/APR/POOLCore/POOLCore/Exception.h:15