X-Git-Url: http://bilbo.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/8b9f1461e3444561c67dbf0b688d69172b1a8d31..c84c646bd7234377ccdd7410915f981cc9a95ff0:/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);