1 // Copyright (C) 2014-20xx CEA/DEN, EDF R&D
3 #ifndef GeomAlgoAPI_Exception_H_
4 #define GeomAlgoAPI_Exception_H_
6 #include <GeomAlgoAPI.h>
10 /**\class GeomAlgoAPI_Exception
12 * \brief Manage exceptions
14 class GeomAlgoAPI_Exception : public std::exception
17 /// Create an exception
18 /// \param theMessageError Error message to be displayed
19 GEOMALGOAPI_EXPORT GeomAlgoAPI_Exception(std::string theMessageError);
21 GEOMALGOAPI_EXPORT ~GeomAlgoAPI_Exception() throw();
22 /// Allows to collet the error
23 GEOMALGOAPI_EXPORT const char* what() const throw();
26 std::string myMessageError; /// Error message to be displayed.