Remove dynamic exceptions
[anna.git] / source / comm / internal / Poll.cpp
index 38b0b78..a9aa019 100644 (file)
@@ -16,7 +16,7 @@
 using namespace anna;
 
 void comm::Poll::setTimeout(const Millisecond &timeout)
-throw() {
+{
   if((a_timeout.tv_sec = timeout / 1000) == 0)
     a_timeout.tv_usec = timeout * 1000;
   else
@@ -32,7 +32,7 @@ throw() {
 // Para las dos implementacion el NULL => espera hasta que llegue un mensaje.
 //--------------------------------------------------------------------------------------------
 void comm::Poll::waitMessage()
-throw(RuntimeException) {
+noexcept(false) {
   if(a_ptrTimeout == NULL)
     a_pollr = select(a_maxfd, (fd_set*) anna_memcpy(&a_fdset, &a_fdmask, sizeof(fd_set)), NULL);
   else {
@@ -54,7 +54,7 @@ throw(RuntimeException) {
 // (1) Una vez que ha tratado detectado la activada desactiva el indicador
 //-----------------------------------------------------------------------------------------
 int comm::Poll::fetch()
-throw() {
+{
   int result = -1;
 
   while(a_pollr > 0) {
@@ -77,7 +77,7 @@ throw() {
 }
 
 void comm::Poll::insert(const int fd)
-throw() {
+{
   FD_SET(fd, &a_fdmask);
 
   if(a_maxfd < fd) a_maxfd = fd;
@@ -91,7 +91,7 @@ throw() {
 // de pendientes de tratar.
 //---------------------------------------------------------------------------------------
 void comm::Poll::erase(const int fd)
-throw() {
+{
   FD_CLR(fd, &a_fdmask);
 
   if(FD_ISSET(fd, &a_fdset) && a_pollr > 0) {                                // (1)