Remove dynamic exceptions
[anna.git] / example / diameter / batchConverter / main.cpp
index 7a7a2f4..9009b61 100644 (file)
@@ -25,7 +25,7 @@
 #include <anna/diameter/codec/Engine.hpp>
 #include <anna/diameter/codec/EngineManager.hpp>
 #include <anna/diameter/codec/Message.hpp>
-//#include <anna/diameter/codec/functions.hpp> // ApplicationId anna::diameter::codec::functions::getApplicationId(const anna::DataBlock &) throw(anna::RuntimeException);
+//#include <anna/diameter/codec/functions.hpp> // 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);