Remove dynamic exceptions
[anna.git] / include / anna / core / util / ComponentManager.hpp
index ea41911..7a77bba 100644 (file)
@@ -34,14 +34,14 @@ public:
      Returns component instance for the class name provided, <null> if not found.
      \return component instance for the class name provided, <null> 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 <ComponentManager>;