X-Git-Url: https://git.teslayout.com/public/public/public/?p=anna.git;a=blobdiff_plain;f=example%2Fdiameter%2FbatchConverter%2Fmain.cpp;h=9009b61f30dabd2f1bb361754dad3b0e40ef5da8;hp=7a7a2f484351d5ce589a370915fb72d51d31173c;hb=5a6cba5fde2b2f538a7515f8293cc0a8d9589dfa;hpb=af9c86ffb0e28d35ad94d99c5f77e41578c972b4 diff --git a/example/diameter/batchConverter/main.cpp b/example/diameter/batchConverter/main.cpp index 7a7a2f4..9009b61 100644 --- a/example/diameter/batchConverter/main.cpp +++ b/example/diameter/batchConverter/main.cpp @@ -25,7 +25,7 @@ #include #include #include -//#include // ApplicationId anna::diameter::codec::functions::getApplicationId(const anna::DataBlock &) throw(anna::RuntimeException); +//#include // ApplicationId anna::diameter::codec::functions::getApplicationId(const anna::DataBlock &) noexcept(false); using namespace anna; @@ -33,7 +33,7 @@ using namespace anna::diameter; anna::diameter::codec::Message G_codecMsg; -bool getDataBlockFromHexFile(const std::string &pathfile, anna::DataBlock &db) throw() { +bool getDataBlockFromHexFile(const std::string &pathfile, anna::DataBlock &db) { // Get hex string static char buffer[8192]; std::ifstream infile(pathfile.c_str(), std::ifstream::in); @@ -68,7 +68,7 @@ void _exit(const std::string &message, int resultCode = 1) { } // Decodes a diameter message coming from a datablock -bool decodeDataBlock(const anna::DataBlock &db/*, unsigned int & detectedApplicationId*/) throw() { +bool decodeDataBlock(const anna::DataBlock &db/*, unsigned int & detectedApplicationId*/) { try { G_codecMsg.clear(); G_codecMsg.decode(db);