Remove dynamic exceptions
[anna.git] / include / anna / comm / DatagramSocket.hpp
index 77721ea..12c995a 100644 (file)
@@ -45,30 +45,30 @@ public:
      Devuelve el modo en que fue instanciado este Socket.
      \return el modo en que fue instanciado este Socket.
   */
-  Mode getMode() const throw() { return a_mode; }
+  Mode getMode() const { return a_mode; }
 
   /**
      Devuelve \em true si el socket fue instancia como sólo-lectura.
      \return \em true si el socket fue instancia como sólo-lectura.
   */
-  const bool isReadOnly() const throw() { return a_mode == ReadOnly; }
+  const bool isReadOnly() const { return a_mode == ReadOnly; }
 
   /**
      Devuelve \em true si el socket fue instancia como sólo-lectura.
      \return \em true si el socket fue instancia como sólo-lectura.
   */
-  const bool isWriteOnly() const throw() { return a_mode == WriteOnly; }
+  const bool isWriteOnly() const { return a_mode == WriteOnly; }
 
   /**
      Prepara el socket para enviar a la direccion indicada en el constructor.
   */
-  void connect() throw(RuntimeException);
+  void connect() noexcept(false);
 
 private:
   const Mode a_mode;
 
-  void do_write(const DataBlock&) throw(RuntimeException);
-  int do_read(const char* data, const int maxSize) throw(RuntimeException);
+  void do_write(const DataBlock&) noexcept(false);
+  int do_read(const char* data, const int maxSize) noexcept(false);
 };
 
 }