31 #if defined(Exceptions_RECURSES)
32 #error Recursive header files inclusion detected in Exceptions.h
33 #else // defined(Exceptions_RECURSES)
35 #define Exceptions_RECURSES
37 #if !defined Exceptions_h
44 #include "DGtal/base/Common.h"
55 virtual const char*
what()
const throw()
57 return "DGtal IO error";
67 virtual const char*
what()
const throw()
69 return "DGtal bad input error";
79 virtual const char*
what()
const throw()
81 return "DGtal bad connectivity error";
90 virtual const char*
what()
const throw()
92 return "DGtal memory error";
101 virtual const char*
what()
const throw()
103 return "DGtal infinite number error";
114 #endif // !defined Exceptions_h
116 #undef Exceptions_RECURSES
117 #endif // else defined(Exceptions_RECURSES)