Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Refactoring of code and documentation.
[simgrid.git] / src / cxx / 0bject.hpp
index 6841835cdfcd6fb944485ad0b06de839593ffd26..9c8a169fc441c0b5c0b0ea5b41f7f0c303720cb5 100644 (file)
@@ -10,6 +10,8 @@
 \r
 #include <stdlib.h>\r
 \r
+#include <ClassNotFoundException.hpp>\r
+\r
 namespace msg\r
 {\r
                //////////////////////////////////////////////////////////////////////////////\r
@@ -97,7 +99,8 @@ namespace msg
                // Operations\r
                \r
                        // Create the runtime class from its name.\r
-                       static Class* fromName(const char* name);\r
+                       static Class* fromName(const char* name)\r
+                       throw (ClassNotFoundException);\r
                        \r
                        // Create an object from the name of the its class.\r
                        static Object* createObject(const char* name);\r