X-Git-Url: https://git.teslayout.com/public/public/public/?p=anna.git;a=blobdiff_plain;f=include%2Fanna%2Fcore%2Futil%2FComponentManager.hpp;fp=include%2Fanna%2Fcore%2Futil%2FComponentManager.hpp;h=7a77bbaf9b84034aa02f51f1f854a4b322eb1a38;hp=ea41911c94d881761b5f05a6177b392fff121053;hb=5a6cba5fde2b2f538a7515f8293cc0a8d9589dfa;hpb=af9c86ffb0e28d35ad94d99c5f77e41578c972b4 diff --git a/include/anna/core/util/ComponentManager.hpp b/include/anna/core/util/ComponentManager.hpp index ea41911..7a77bba 100644 --- a/include/anna/core/util/ComponentManager.hpp +++ b/include/anna/core/util/ComponentManager.hpp @@ -34,14 +34,14 @@ public: Returns component instance for the class name provided, if not found. \return component instance for the class name provided, if not found. */ - Component* find(const char* className) throw(); + Component* find(const char* className) ; /** Class XML representation. \param parent XML node over which we will put instance information. \return XML documentcon with class content. */ - virtual xml::Node* asXML(xml::Node* parent) const throw(); + virtual xml::Node* asXML(xml::Node* parent) const ; private: @@ -55,8 +55,8 @@ private: // private destructor virtual ~ComponentManager() {}; - void attach(Component*) throw(RuntimeException); - void detach(Component*) throw(RuntimeException); + void attach(Component*) noexcept(false); + void detach(Component*) noexcept(false); friend class Singleton ;