X-Git-Url: https://git.teslayout.com/public/public/public/?p=anna.git;a=blobdiff_plain;f=dynamic%2Flauncher%2Fdefault%2FProcedure.cpp;fp=dynamic%2Flauncher%2Fdefault%2FProcedure.cpp;h=a3ef9701082f9ad8cd63baa704b4ec4983f7805b;hp=6649e62e33552bf7b555278b01b8f4ff88a6a4d8;hb=5a6cba5fde2b2f538a7515f8293cc0a8d9589dfa;hpb=af9c86ffb0e28d35ad94d99c5f77e41578c972b4 diff --git a/dynamic/launcher/default/Procedure.cpp b/dynamic/launcher/default/Procedure.cpp index 6649e62..a3ef970 100644 --- a/dynamic/launcher/default/Procedure.cpp +++ b/dynamic/launcher/default/Procedure.cpp @@ -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); }