Remove dynamic exceptions
[anna.git] / include / anna / comm / Codec.hpp
index 490662a..be95c73 100644 (file)
@@ -103,7 +103,7 @@ public:
      al mensaje y viceversa.
      @return Un puntero que hace referencia al nuevo dato interno que ha sido creado.
   */
-  const Variable* attach(const char* name, std::string& value) throw(RuntimeException) { return CompatCodec::attach(name, size(), value); }
+  const Variable* attach(const char* name, std::string& value) noexcept(false) { return CompatCodec::attach(name, size(), value); }
 
   /**
      Asocia el valor recibido como parametro al dato interno identificado por `id'. Esta clase
@@ -116,7 +116,7 @@ public:
      al mensaje y viceversa.
      @return Un puntero que hace referencia al nuevo dato interno que ha sido creado.
   */
-  const Variable* attach(const char* name, const char*& value) throw(RuntimeException) { return CompatCodec::attach(name, size(), value); }
+  const Variable* attach(const char* name, const char*& value) noexcept(false) { return CompatCodec::attach(name, size(), value); }
 
   /**
      Asocia el valor recibido como parametro al dato interno identificado por `id'. Esta clase
@@ -129,7 +129,7 @@ public:
      al mensaje y viceversa.
      @return Un puntero que hace referencia al nuevo dato interno que ha sido creado.
   */
-  const Variable* attach(const char* name, int& value) throw(RuntimeException) { return CompatCodec::attach(name, size(), value); }
+  const Variable* attach(const char* name, int& value) noexcept(false) { return CompatCodec::attach(name, size(), value); }
 
   /**
      Asocia el valor recibido como parametro al dato interno identificado por `id'. Esta clase
@@ -142,7 +142,7 @@ public:
      al mensaje y viceversa.
      @return Un puntero que hace referencia al nuevo dato interno que ha sido creado.
   */
-  const Variable* attach(const char* name, S64& value) throw(RuntimeException) { return CompatCodec::attach(name, size(), value); }
+  const Variable* attach(const char* name, S64& value) noexcept(false) { return CompatCodec::attach(name, size(), value); }
 
   /**
      Asocia el valor recibido como parametro al dato interno identificado por `id'. Esta clase
@@ -155,7 +155,7 @@ public:
      al mensaje y viceversa.
      @return Un puntero que hace referencia al nuevo dato interno que ha sido creado.
   */
-  const Variable* attach(const char* name, bool& value) throw(RuntimeException) { return CompatCodec::attach(name, size(), value); }
+  const Variable* attach(const char* name, bool& value) noexcept(false) { return CompatCodec::attach(name, size(), value); }
 
   /**
      Asocia el valor recibido como parametro al dato interno identificado por `id'. Esta clase
@@ -168,7 +168,7 @@ public:
      al mensaje y viceversa. Debe tener activado el sistema de copia profunda.
      @return Un puntero que hace referencia al nuevo dato interno que ha sido creado.
   */
-  const Variable* attach(const char* name, DataBlock& value) throw(RuntimeException) { return CompatCodec::attach(name, size(), value); }
+  const Variable* attach(const char* name, DataBlock& value) noexcept(false) { return CompatCodec::attach(name, size(), value); }
 
   /**
      Asocia el valor recibido como parametro al dato interno identificado por `id'. Esta clase
@@ -181,7 +181,7 @@ public:
      al mensaje y viceversa. Debe tener activado el sistema de copia profunda.
      @return Un puntero que hace referencia al nuevo dato interno que ha sido creado.
   */
-  const Variable* attach(const char* name, float& value) throw(RuntimeException) { return CompatCodec::attach(name, size(), value); }
+  const Variable* attach(const char* name, float& value) noexcept(false) { return CompatCodec::attach(name, size(), value); }
 
   /**
      Asocia el valor recibido como parametro al dato interno identificado por `id'. Esta clase
@@ -194,7 +194,7 @@ public:
      al mensaje y viceversa. Debe tener activado el sistema de copia profunda.
      @return Un puntero que hace referencia al nuevo dato interno que ha sido creado.
   */
-  const Variable* attach(const char* name, double& value) throw(RuntimeException) { return CompatCodec::attach(name, size(), value); }
+  const Variable* attach(const char* name, double& value) noexcept(false) { return CompatCodec::attach(name, size(), value); }
 
   /**
      Asocia el valor recibido como parametro al dato interno identificado por `id'. Esta clase
@@ -207,7 +207,7 @@ public:
      al mensaje y viceversa. Debe tener activado el sistema de copia profunda.
      @return Un puntero que hace referencia al nuevo dato interno que ha sido creado.
   */
-  const Variable* attach(const char* name, Second& value) throw(RuntimeException);
+  const Variable* attach(const char* name, Second& value) noexcept(false);
 
   /**
      Asocia el valor recibido como parametro al dato interno identificado por `id'. Esta clase
@@ -220,7 +220,7 @@ public:
      al mensaje y viceversa. Debe tener activado el sistema de copia profunda.
      @return Un puntero que hace referencia al nuevo dato interno que ha sido creado.
   */
-  const Variable* attach(const char* name, Millisecond& value) throw(RuntimeException);
+  const Variable* attach(const char* name, Millisecond& value) noexcept(false);
 
   /**
      Asocia el valor recibido como parametro al dato interno identificado por `id'. Esta clase
@@ -233,7 +233,7 @@ public:
      al mensaje y viceversa. Debe tener activado el sistema de copia profunda.
      @return Un puntero que hace referencia al nuevo dato interno que ha sido creado.
   */
-  const Variable* attach(const char* name, Microsecond& value) throw(RuntimeException);
+  const Variable* attach(const char* name, Microsecond& value) noexcept(false);
 };
 
 }