Remove dynamic exceptions
[anna.git] / source / comm / internal / BinderSocket.cpp
index 6768fab..6a54422 100644 (file)
@@ -61,7 +61,7 @@ comm::BinderSocket::BinderSocket(comm::ServerSocket* serverSocket) :
 // Visto en: http://mail-index.netbsd.org/current-users/1998/01/16/0010.html
 //-------------------------------------------------------------------------------------------------
 void comm::BinderSocket::requestBind(const struct sockaddr* s, const  int len)
-throw(RuntimeException) {
+noexcept(false) {
   if(::bind(a_serverSocket.a_fd, s, len) != -1) {                // (1)
     unlink(getRemoteAccessPoint().getPath().c_str());
     this->bind();
@@ -92,7 +92,7 @@ throw(RuntimeException) {
 // (4) Cierra la nueva conexion ya que no vamos a volver a usarla para nada.
 //-------------------------------------------------------------------------------------------------
 void comm::BinderSocket::responseBind()
-throw(RuntimeException) {
+noexcept(false) {
   struct iovec iov;
   struct msghdr mh;
   int fds [2];
@@ -146,7 +146,7 @@ throw(RuntimeException) {
 }
 
 void comm::BinderSocket::waitBind(const Millisecond &maxDelay)
-throw(RuntimeException) {
+noexcept(false) {
   struct msghdr mh;
   struct iovec iov;
   const int garbage(0);