DGtal
2.2.0
Toggle main menu visibility
Loading...
Searching...
No Matches
Exceptions.h
1
16
17
#pragma once
18
30
31
#if defined(Exceptions_RECURSES)
32
#error Recursive header files inclusion detected in Exceptions.h
33
#else
// defined(Exceptions_RECURSES)
35
#define Exceptions_RECURSES
36
37
#if !defined Exceptions_h
39
#define Exceptions_h
40
42
// Inclusions
43
#include <iostream>
45
46
namespace
DGtal
47
{
48
52
class
IOException
:
public
std::exception
53
{
54
virtual
const
char
*
what
() const noexcept
55
{
56
return
"DGtal IO error"
;
57
}
58
};
59
63
class
InputException
:
public
std::exception
64
{
65
public
:
66
virtual
const
char
*
what
() const noexcept
67
{
68
return
"DGtal bad input error"
;
69
}
70
};
71
75
class
ConnectivityException
:
public
std::exception
76
{
77
public
:
78
virtual
const
char
*
what
() const noexcept
79
{
80
return
"DGtal bad connectivity error"
;
81
}
82
};
83
87
class
MemoryException
:
public
std::exception
88
{
89
virtual
const
char
*
what
() const noexcept
90
{
91
return
"DGtal memory error"
;
92
}
93
};
94
98
class
InfiniteNumberException
:
public
std::exception
99
{
100
virtual
const
char
*
what
() const noexcept
101
{
102
return
"DGtal infinite number error"
;
103
}
104
};
105
106
107
}
// namespace DGtal
108
109
110
// //
112
113
#endif
// !defined Exceptions_h
114
115
#undef Exceptions_RECURSES
116
#endif
// else defined(Exceptions_RECURSES)
DGtal::ConnectivityException
Definition
Exceptions.h:76
DGtal::ConnectivityException::what
virtual const char * what() const noexcept
Definition
Exceptions.h:78
DGtal::IOException
Definition
Exceptions.h:53
DGtal::IOException::what
virtual const char * what() const noexcept
Definition
Exceptions.h:54
DGtal::InfiniteNumberException
Definition
Exceptions.h:99
DGtal::InfiniteNumberException::what
virtual const char * what() const noexcept
Definition
Exceptions.h:100
DGtal::InputException
Definition
Exceptions.h:64
DGtal::InputException::what
virtual const char * what() const noexcept
Definition
Exceptions.h:66
DGtal::MemoryException
Definition
Exceptions.h:88
DGtal::MemoryException::what
virtual const char * what() const noexcept
Definition
Exceptions.h:89
DGtal
DGtal is the top-level namespace which contains all DGtal functions and types.
Definition
ClosedIntegerHalfPlane.h:49
src
DGtal
base
Exceptions.h
Generated on
for DGtal by
1.18.0