X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/9f9eb7fc2dcaeb4e7bdf6b0aaf76fe713e370746..28f07de780131679dffc1443e213ae7a549bd601:/src/mc/ModelChecker.cpp diff --git a/src/mc/ModelChecker.cpp b/src/mc/ModelChecker.cpp index da9a2451af..92895002f4 100644 --- a/src/mc/ModelChecker.cpp +++ b/src/mc/ModelChecker.cpp @@ -308,7 +308,7 @@ bool ModelChecker::handle_events() case EINTR: continue; default: - throw simgrid::mc::errno_error(errno); + throw simgrid::xbt::errno_error(errno); } } @@ -316,7 +316,7 @@ bool ModelChecker::handle_events() if (socket_pollfd->revents & POLLIN) { ssize_t size = MC_receive_message(socket_pollfd->fd, buffer, sizeof(buffer), MSG_DONTWAIT); if (size == -1 && errno != EAGAIN) - throw simgrid::mc::errno_error(errno); + throw simgrid::xbt::errno_error(errno); return handle_message(buffer, size); } if (socket_pollfd->revents & POLLERR) { @@ -357,7 +357,7 @@ void ModelChecker::handle_signals() if (errno == EINTR) continue; else - throw simgrid::mc::errno_error(errno); + throw simgrid::xbt::errno_error(errno); } else if (size != sizeof(info)) return throw std::runtime_error( "Bad communication with model-checked application"); @@ -382,7 +382,7 @@ void ModelChecker::handle_waitpid() break; } else { XBT_ERROR("Could not wait for pid"); - throw simgrid::mc::errno_error(errno); + throw simgrid::xbt::errno_error(errno); } }