Remove dynamic exceptions
[anna.git] / include / anna / core / util / EncodedData.hpp
index 0682407..4a4296c 100644 (file)
@@ -38,7 +38,7 @@ public:
      \param document Documento XML que contiene la informacion con la inicializar esta clase.
      Deberia haber sido obtenido mediate #asXML.
   */
-  void initialize(const xml::Node* document) throw(RuntimeException);
+  void initialize(const xml::Node* document) noexcept(false);
 
   /**
      Devuelve un documento XML con la informacion necesaria para reproducir el contenido de esta
@@ -46,7 +46,7 @@ public:
      \param parent Nodo XML del que dependende la informacion.
      \return Nodo XML que en el que podemos aplicar informacion.
   */
-  xml::Node* asXML(xml::Node* parent) const throw(RuntimeException);
+  xml::Node* asXML(xml::Node* parent) const noexcept(false);
 
 private:
   DES_key_schedule a_skey [3];
@@ -56,8 +56,8 @@ private:
 
   EncodedData(const EncodedData&);
 
-  static const std::string& asBCD(const DataBlock&, std::string&) throw();
-  static int fromBCD(const std::string&, DataBlock&) throw();
+  static const std::string& asBCD(const DataBlock&, std::string&) ;
+  static int fromBCD(const std::string&, DataBlock&) ;
 
   friend class Encoder;
 };