Remove dynamic exceptions
[anna.git] / dynamic / launcher / gx / 00001 / Procedure.cpp
index 042efee..03e02eb 100644 (file)
@@ -59,7 +59,7 @@ namespace {
    }
 }
 
-void Procedure::execute(const std::string &args, std::string &response)  throw(anna::RuntimeException) {
+void Procedure::execute(const std::string &args, std::string &response)  noexcept(false) {
 
   response = "Dynamic procedure failed to process '"; response += args; response += "': ";
 
@@ -294,7 +294,7 @@ void Procedure::execute(const std::string &args, std::string &response)  throw(a
   response += "CCR-Initial"; if (haveTermination) response += " + CCR-Termination";
 }
 
-void Procedure::execute(const nlohmann::json &args, std::string &response)  throw(anna::RuntimeException) {
+void Procedure::execute(const nlohmann::json &args, std::string &response)  noexcept(false) {
 
   // Build the arguments string and call the previous centralized logic procedure execution:
   //   <initial sequence>|<final sequence>|<test timeout ms (0: no timeout step)>|<digits>|<CCR-I xml file>[|CCR-T xml file]