X-Git-Url: https://git.teslayout.com/public/public/public/?p=anna.git;a=blobdiff_plain;f=source%2Fcomm%2FHandler.cpp;fp=source%2Fcomm%2FHandler.cpp;h=a63fee8c3571ba0bbe61528fe3c91a66a459376b;hp=d46d4bcc54c2d41cd06e10646019e2bcd4d90912;hb=5a6cba5fde2b2f538a7515f8293cc0a8d9589dfa;hpb=af9c86ffb0e28d35ad94d99c5f77e41578c972b4 diff --git a/source/comm/Handler.cpp b/source/comm/Handler.cpp index d46d4bc..a63fee8 100644 --- a/source/comm/Handler.cpp +++ b/source/comm/Handler.cpp @@ -28,7 +28,7 @@ using namespace anna; // En modo ST invocamos directamente al Handler::apply. //------------------------------------------------------------------------------------------------ void comm::Handler::do_action() -throw(RuntimeException) { +noexcept(false) { pollfd pollfd; pollfd.fd = getfd(); pollfd.events = POLLIN | POLLRDNORM; @@ -107,7 +107,7 @@ throw(RuntimeException) { } std::string comm::Handler::asString() const -throw() { +{ string msg("comm::Handler { "); msg += Runnable::asString(); @@ -126,14 +126,14 @@ throw() { } xml::Node* comm::Handler::asXML(xml::Node* parent) const -throw(RuntimeException) { +noexcept(false) { xml::Node* result = parent->createChild("comm.Handler"); asAttribute(result); return result; } void comm::Handler::asAttribute(xml::Node* node) const -throw(RuntimeException) { +noexcept(false) { node->createAttribute("Id", getId()); node->createAttribute("RequestStop", anna::functions::asString(hasRequestedStop()));