Remove dynamic exceptions
[anna.git] / include / anna / xml / Attribute.hpp
index cd76d11..0d49885 100644 (file)
@@ -38,25 +38,25 @@ public:
      Devuelve el nombre de este atributo.
      \return Nombre de este atributo.
   */
-  const char* getName() const throw() { return a_name.c_str(); }
+  const char* getName() const { return a_name.c_str(); }
 
   /**
    * Devuelve el namespace asociado a este atributo. Puede ser NULL.
    * \return el namespace asociado a este atributo. Puede ser NULL.
    */
-  const Namespace* getNamespace() const throw() { return a_namespace; }
+  const Namespace* getNamespace() const { return a_namespace; }
 
   /**
    * Devuelve el nombre del nodo.
    * \return El nombre del nodo.
    */
-  const std::string& getNameAsString() const throw() { return a_name; }
+  const std::string& getNameAsString() const { return a_name; }
 
   /**
      Devuelve una cadena con toda la informacion relevante de esta instancia.
      \return Una cadena con toda la informacion relevante de esta instancia.
   */
-  std::string asString() const throw();
+  std::string asString() const ;
 
 private:
   std::string a_name;
@@ -67,8 +67,8 @@ private:
 
   virtual ~Attribute() {;}
 
-  void setName(const char* name) throw() { a_name = name; }
-  void setNamespace(const Namespace* _namespace) throw() { a_namespace = _namespace; }
+  void setName(const char* name) { a_name = name; }
+  void setNamespace(const Namespace* _namespace) { a_namespace = _namespace; }
 
   friend class Node;
   friend class Allocator<Attribute>;