Remove dynamic exceptions
[anna.git] / source / comm / Handler.cpp
index d46d4bc..a63fee8 100644 (file)
@@ -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()));