projects
/
anna.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Remove dynamic exceptions
[anna.git]
/
dynamic
/
launcher
/
default
/
Procedure.cpp
diff --git
a/dynamic/launcher/default/Procedure.cpp
b/dynamic/launcher/default/Procedure.cpp
index
62b0ce2
..
a3ef970
100644
(file)
--- a/
dynamic/launcher/default/Procedure.cpp
+++ b/
dynamic/launcher/default/Procedure.cpp
@@
-16,7
+16,7
@@
// Local
#include "Procedure.hpp"
// Local
#include "Procedure.hpp"
-void Procedure::execute(const std::string &args, std::string &response
, anna::diameter::comm::OriginHost *originHost) 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: ";
response = "Empty default implementation. Make dynamic library and reimplement this method.";
if (args != "" ) {
response += " Provided argument(s) ignored: ";
@@
-24,3
+24,6
@@
void Procedure::execute(const std::string &args, std::string &response, anna::di
}
}
}
}
+void Procedure::execute(const nlohmann::json &args, std::string &response) noexcept(false) {
+ execute(args.dump(), response);
+}