ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Database
AthenaPOOL
AthenaPoolCnvSvc
AthenaPoolCnvSvc
Database/AthenaPOOL/AthenaPoolCnvSvc/AthenaPoolCnvSvc/exceptions.h
Go to the documentation of this file.
1
// This file's extension implies that it's C, but it's really -*- C++ -*-.
2
3
/*
4
Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
5
*/
6
13
14
15
#ifndef ATHENAPOOLCNVSVC_EXCEPTIONS_H
16
#define ATHENAPOOLCNVSVC_EXCEPTIONS_H
17
18
19
#include "
PersistentDataModel/Guid.h
"
20
#include <stdexcept>
21
#include <typeinfo>
22
#include <string>
23
24
25
namespace
AthenaPoolCnvSvc
{
26
27
33
class
ExcNoDictForClass
34
:
public
std::runtime_error
35
{
36
public
:
41
ExcNoDictForClass
(
const
std::type_info& ti);
42
};
43
44
49
[[noreturn]]
50
void
throwExcNoDictForClass
(
const
std::type_info& ti);
51
52
58
class
ExcUnsupportedVersion
59
:
public
std::runtime_error
60
{
61
public
:
67
ExcUnsupportedVersion
(
const
std::type_info& ti,
const
Guid
& guid);
68
};
69
70
76
[[noreturn]]
77
void
throwExcUnsupportedVersion
(
const
std::type_info& ti,
const
Guid
& guid);
78
79
85
class
ExcCaughtException
86
:
public
std::runtime_error
87
{
88
public
:
97
ExcCaughtException
(
const
char
* fnname,
98
const
char
* action,
99
const
std::exception& ex,
100
const
std::type_info& ti,
101
const
std::string& key);
102
};
103
104
115
[[noreturn]]
116
void
throwExcCaughtException
(
const
char
* fnname,
117
const
char
* action,
118
const
std::exception& ex,
119
const
std::type_info& ti,
120
const
std::string& key);
121
122
123
}
// namespace AthenaPoolCnvSvc
124
125
126
#endif
// not EXCEPTIONS_H
Guid.h
This file contains the class definition for the Guid class (migrated from POOL).
AthenaPoolCnvSvc::ExcCaughtException::ExcCaughtException
ExcCaughtException(const char *fnname, const char *action, const std::exception &ex, const std::type_info &ti, const std::string &key)
Constructor.
Definition
Database/AthenaPOOL/AthenaPoolCnvSvc/src/exceptions.cxx:112
AthenaPoolCnvSvc::ExcNoDictForClass::ExcNoDictForClass
ExcNoDictForClass(const std::type_info &ti)
Constructor.
Definition
Database/AthenaPOOL/AthenaPoolCnvSvc/src/exceptions.cxx:36
AthenaPoolCnvSvc::ExcUnsupportedVersion::ExcUnsupportedVersion
ExcUnsupportedVersion(const std::type_info &ti, const Guid &guid)
Constructor.
Definition
Database/AthenaPOOL/AthenaPoolCnvSvc/src/exceptions.cxx:70
Guid
This class provides a encapsulation of a GUID/UUID/CLSID/IID data structure (128 bit number).
Definition
Guid.h:25
AthenaPoolCnvSvc
Definition
Database/AthenaPOOL/AthenaPoolCnvSvc/AthenaPoolCnvSvc/debug.h:26
AthenaPoolCnvSvc::throwExcUnsupportedVersion
void throwExcUnsupportedVersion(const std::type_info &ti, const Guid &guid)
Throw a AthenaPoolCnvSvc::ExcUnsupportedVersion exception.
Definition
Database/AthenaPOOL/AthenaPoolCnvSvc/src/exceptions.cxx:82
AthenaPoolCnvSvc::throwExcNoDictForClass
void throwExcNoDictForClass(const std::type_info &ti)
Throw a AthenaPoolCnvSvc::ExcNoDictForClass exception.
Definition
Database/AthenaPOOL/AthenaPoolCnvSvc/src/exceptions.cxx:46
AthenaPoolCnvSvc::throwExcCaughtException
void throwExcCaughtException(const char *fnname, const char *action, const std::exception &ex, const std::type_info &ti, const std::string &key)
Throw a AthenaPoolCnvSvc::ExcCaughtException exception.
Definition
Database/AthenaPOOL/AthenaPoolCnvSvc/src/exceptions.cxx:132
Generated on
for ATLAS Offline Software by
1.17.0