0.45.1
C++ Standard Airline IT Object Library
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
stdair_exceptions.hpp
Go to the documentation of this file.
1
#ifndef __STDAIR_STDAIR_EXCEPTIONS_HPP
2
#define __STDAIR_STDAIR_EXCEPTIONS_HPP
3
4
// //////////////////////////////////////////////////////////////////////
5
// Import section
6
// //////////////////////////////////////////////////////////////////////
7
// STL
8
#include <string>
9
10
namespace
stdair {
11
19
class
RootException
:
public
std::exception {
20
public
:
24
RootException
(
const
std::string& iWhat) :
_what
(iWhat) {}
28
RootException
() :
_what
(
"No further details"
) {}
29
33
virtual
~RootException
() throw() {}
34
38
const
char
*
what
()
const
throw() {
39
return
_what
.c_str();
40
}
41
42
protected
:
46
std::string
_what
;
47
};
48
50
class
FileNotFoundException
:
public
RootException
{
51
public
:
53
FileNotFoundException
(
const
std::string& iWhat) :
RootException
(iWhat) {}
54
};
55
57
class
NonInitialisedLogServiceException
:
public
RootException
{
58
public
:
60
NonInitialisedLogServiceException
(
const
std::string& iWhat)
61
:
RootException
(iWhat) {}
62
};
63
65
class
NonInitialisedServiceException
:
public
RootException
{
66
public
:
68
NonInitialisedServiceException
(
const
std::string& iWhat)
69
:
RootException
(iWhat) {}
70
};
71
73
class
NonInitialisedContainerException
:
public
RootException
{
74
public
:
76
NonInitialisedContainerException
(
const
std::string& iWhat)
77
:
RootException
(iWhat) {}
78
};
79
81
class
NonInitialisedRelationShipException
:
public
RootException
{
82
public
:
84
NonInitialisedRelationShipException
(
const
std::string& iWhat)
85
:
RootException
(iWhat) {}
86
};
87
89
class
MemoryAllocationException
:
public
RootException
{
90
public
:
92
MemoryAllocationException
(
const
std::string& iWhat)
93
:
RootException
(iWhat) {}
94
};
95
97
class
ObjectLinkingException
:
public
RootException
{
98
public
:
100
ObjectLinkingException
(
const
std::string& iWhat) :
RootException
(iWhat) {}
101
};
102
104
class
DocumentNotFoundException
:
public
RootException
{
105
public
:
107
DocumentNotFoundException
(
const
std::string& iWhat)
108
:
RootException
(iWhat) {}
109
};
110
112
class
ParserException
:
public
RootException
{
113
public
:
115
ParserException
(
const
std::string& iWhat) :
RootException
(iWhat) {}
116
};
117
119
class
SerialisationException
:
public
RootException
{
120
public
:
122
SerialisationException
(
const
std::string& iWhat) :
RootException
(iWhat) {}
123
};
124
126
class
KeyNotFoundException
:
public
RootException
{
127
public
:
129
KeyNotFoundException
(
const
std::string& iWhat) :
RootException
(iWhat) {}
130
};
131
133
class
CodeConversionException
:
public
ParserException
{
134
public
:
136
CodeConversionException
(
const
std::string& iWhat)
137
:
ParserException
(iWhat) {}
138
};
139
141
class
CodeDuplicationException
:
public
ParserException
{
142
public
:
144
CodeDuplicationException
(
const
std::string& iWhat)
145
:
ParserException
(iWhat) {}
146
};
147
149
class
ObjectCreationgDuplicationException
:
public
ParserException
{
150
public
:
152
ObjectCreationgDuplicationException
(
const
std::string& iWhat)
153
:
ParserException
(iWhat) {}
154
};
155
157
class
ObjectNotFoundException
:
public
RootException
{
158
public
:
160
ObjectNotFoundException
(
const
std::string& iWhat)
161
:
RootException
(iWhat) {}
162
};
163
165
class
ParsingFileFailedException
:
public
ParserException
{
166
public
:
168
ParsingFileFailedException
(
const
std::string& iWhat)
169
:
ParserException
(iWhat) {}
170
};
171
173
class
SQLDatabaseException
:
public
RootException
{
174
public
:
176
SQLDatabaseException
(
const
std::string& iWhat) :
RootException
(iWhat) {}
177
};
178
180
class
NonInitialisedDBSessionManagerException
:
public
RootException
{
181
public
:
183
NonInitialisedDBSessionManagerException
(
const
std::string& iWhat)
184
:
RootException
(iWhat) {}
185
};
186
188
class
SQLDatabaseConnectionImpossibleException
:
public
SQLDatabaseException
{
189
public
:
191
SQLDatabaseConnectionImpossibleException
(
const
std::string& iWhat)
192
:
SQLDatabaseException
(iWhat) {}
193
};
194
196
class
EventException
:
public
RootException
{
197
public
:
199
EventException
(
const
std::string& iWhat) :
RootException
(iWhat) {}
200
};
201
203
class
EventQueueException
:
public
RootException
{
204
public
:
206
EventQueueException
(
const
std::string& iWhat) :
RootException
(iWhat) {}
207
};
208
209
}
210
#endif // __STDAIR_STDAIR_EXCEPTIONS_HPP
Generated on Sun Aug 12 2012 18:33:55 for StdAir by
1.8.1.2