1 #ifndef GeomAlgoAPI_Exception_H_
2 #define GeomAlgoAPI_Exception_H_
4 #include <GeomAlgoAPI.h>
8 /**\class GeomAlgoAPI_Exception
10 * \brief Manage exceptions
12 class GeomAlgoAPI_Exception : public std::exception
15 /// Create an exception
16 /// \param theMessageError Error message to be displayed
17 GEOMALGOAPI_EXPORT GeomAlgoAPI_Exception(std::string theMessageError);
19 GEOMALGOAPI_EXPORT ~GeomAlgoAPI_Exception() throw();
20 /// Allows to collet the error
21 GEOMALGOAPI_EXPORT const char* what() const throw();
24 std::string myMessageError; /// Error message to be displayed.