CGMES_3_0_0
Loading...
Searching...
No Matches
CIMExceptions.hpp
1
#ifndef CIMEXCEPTIONS_HPP
2
#define CIMEXCEPTIONS_HPP
3
4
#include <string>
5
#include <stdexcept>
6
7
class
CIMException
;
8
class
CIMModel
;
9
class
ModelDescriptionHandler
;
10
class
CIMContentHandler
;
11
12
class
CIMException :
public
std::exception
13
{
14
public
:
15
CIMException();
16
protected
:
17
std::string message;
18
virtual
const
char
* what()
const
noexcept
override
;
19
};
20
21
22
class
CriticalError :
public
std::runtime_error
23
{
24
public
:
25
CriticalError(
const
std::string& what);
26
};
27
28
29
class
MissingDependencyFile : CIMException
30
{
31
public
:
32
MissingDependencyFile(
const
CIMModel
* model,
const
std::string
id
);
33
34
const
CIMModel
* Model;
35
const
std::string rdfID;
36
};
37
38
39
40
class
MissingModelDescription : CIMException
41
{
42
public
:
43
MissingModelDescription(
const
ModelDescriptionHandler
* desc);
44
const
ModelDescriptionHandler
* DescriptionHandler;
45
};
46
47
48
49
class
NoObjectsContainer : CIMException
50
{
51
public
:
52
NoObjectsContainer(
const
CIMContentHandler
* handler);
53
const
CIMContentHandler
* ContentHandler;
54
};
55
56
57
58
class
NoRdfID : CIMException
59
{
60
public
:
61
NoRdfID();
62
};
63
64
65
66
class
NoRdfMap : CIMException
67
{
68
public
:
69
NoRdfMap(
const
CIMContentHandler
* handler);
70
const
CIMContentHandler
* ContentHandler;
71
};
72
73
74
75
class
ReadingUninitializedField : CIMException
76
{
77
public
:
78
ReadingUninitializedField();
79
};
80
81
#endif
// CIMEXCEPTIONS_HPP
CIMContentHandler
Definition
CIMContentHandler.hpp:16
CIMException
Definition
CIMExceptions.hpp:13
CIMModel
CIM model handler.
Definition
CIMModel.hpp:19
ModelDescriptionHandler
Definition
ModelDescriptionHandler.hpp:13
src
CIMExceptions.hpp
Generated by
1.15.0