Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Some new classes of CPP version of Msg
[simgrid.git] / src / cxx / 0bject.hpp
index 6841835..9c8a169 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