Remove dynamic exceptions
[anna.git] / example / diameter / rxSimpleTest / rxSimpleTest.hpp
index 7e90033..f068ef1 100755 (executable)
@@ -55,20 +55,20 @@ class RxSimpleTest : public anna::comm::Application {
   std::string a_initialWorkingDirectory;
 
 
-  void initialize() throw(anna::RuntimeException); // HTTP
-  void run() throw(anna::RuntimeException);
+  void initialize() noexcept(false); // HTTP
+  void run() noexcept(false);
 
 public:
   RxSimpleTest();
 
-  MyDiameterEntity *getEntity() const throw(anna::RuntimeException);
-  MyLocalServer *getServer() const throw(anna::RuntimeException);
-  MyDiameterEngine *getEngine() const throw(anna::RuntimeException);
-  MyCommunicator *getCommunicator() throw() { return a_communicator; }
-  void startService() throw(anna::RuntimeException);
-  anna::diameter::comm::OriginHost *getOriginHost(const std::string &name) const throw(anna::RuntimeException);
+  MyDiameterEntity *getEntity() const noexcept(false);
+  MyLocalServer *getServer() const noexcept(false);
+  MyDiameterEngine *getEngine() const noexcept(false);
+  MyCommunicator *getCommunicator() { return a_communicator; }
+  void startService() noexcept(false);
+  anna::diameter::comm::OriginHost *getOriginHost(const std::string &name) const noexcept(false);
 
-  anna::xml::Node* asXML(anna::xml::Node* parent) const throw();
+  anna::xml::Node* asXML(anna::xml::Node* parent) const ;
 };
 
 #endif