ATLAS Offline Software
Database
APR
POOLCore
POOLCore
Database/APR/POOLCore/POOLCore/Exception.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#ifndef POOL_EXCEPTION_H
6
#define POOL_EXCEPTION_H
7
8
#include <exception>
9
#include <string>
10
11
namespace
pool
{
12
14
class
Exception
:
public
std::exception
15
{
16
public
:
18
Exception
(
const
std::string&
message
,
19
const
std::string& methodName,
20
const
std::string& moduleName );
21
23
virtual
~Exception
() throw() {}
24
26
virtual
const
char
*
what
()
const
throw() {
return
m_message
.c_str(); }
27
28
private
:
30
std::string
m_message
;
31
};
32
}
33
34
#endif
pool
pool namespace
Definition:
libname.h:15
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
pool::Exception::Exception
Exception(const std::string &message, const std::string &methodName, const std::string &moduleName)
Constructor.
calibdata.exception
exception
Definition:
calibdata.py:496
pool::Exception::what
virtual const char * what() const
The error reporting method.
Definition:
Database/APR/POOLCore/POOLCore/Exception.h:26
pool::Exception::~Exception
virtual ~Exception()
Destructor.
Definition:
Database/APR/POOLCore/POOLCore/Exception.h:23
Generated on Tue Jul 2 2024 21:15:31 for ATLAS Offline Software by
1.8.18