X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/9b1ec3c5445076d8f5827f850a9a5e9ea4853696..c8b31f6c35a1b234a459f0579d5e7ee3a5fa5326:/src/cxx/0bject.hpp diff --git a/src/cxx/0bject.hpp b/src/cxx/0bject.hpp index 6841835cdf..9c8a169fc4 100644 --- a/src/cxx/0bject.hpp +++ b/src/cxx/0bject.hpp @@ -10,6 +10,8 @@ #include +#include + namespace msg { ////////////////////////////////////////////////////////////////////////////// @@ -97,7 +99,8 @@ namespace msg // Operations // Create the runtime class from its name. - static Class* fromName(const char* name); + static Class* fromName(const char* name) + throw (ClassNotFoundException); // Create an object from the name of the its class. static Object* createObject(const char* name);