Remove dynamic exceptions
[anna.git] / dynamic / launcher / default / Procedure.cpp
index 6649e62..a3ef970 100644 (file)
@@ -16,7 +16,7 @@
 // Local
 #include "Procedure.hpp"
 
-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 = "Empty default implementation. Make dynamic library and reimplement this method.";
   if (args != "" ) {
     response += " Provided argument(s) ignored: ";
@@ -24,6 +24,6 @@ void Procedure::execute(const std::string &args, std::string &response) throw(an
   }
 }
 
-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) {
   execute(args.dump(), response);
 }