Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Some code refactoring
[simgrid.git] / src / cxx / FileNotFoundException.hpp
index 398f153..a7ddfbc 100644 (file)
 #ifndef MSG_FILENOTFOUND_HPP\r
 #define MSG_FILENOTFOUND_HPP\r
 \r
-#include <Exception.hp>\r
+#ifndef __cplusplus\r
+       #error FileNotFoundException.hpp requires C++ compilation (use a .cxx suffix)\r
+#endif\r
+\r
+#include <Exception.hpp>\r
 \r
 namespace SimGrid\r
 {\r
        namespace Msg\r
        {\r
                \r
-               class FileNotFoundException : public Exception\r
+               class SIMGRIDX_EXPORT FileNotFoundException : public Exception\r
                {\r
                        public:\r
                        \r
@@ -62,3 +66,4 @@ namespace SimGrid
 \r
 \r
 #endif // !MSG_MSGEXCEPTION_HPP\r
+\r