Remove dynamic exceptions
[anna.git] / example / diameter / launcher / MyCommunicator.hpp
index f573069..f4bdaa3 100644 (file)
@@ -24,15 +24,15 @@ public:
     a_contexts("Contexts")
   {;}
 
-  void prepareAnswer(anna::diameter::codec::Message *answer, const anna::DataBlock &request) const throw();
-  void terminate() throw();
+  void prepareAnswer(anna::diameter::codec::Message *answer, const anna::DataBlock &request) const ;
+  void terminate() ;
 
 private:
   using anna::comm::Communicator::eventBreakConnection;
 
   anna::ThreadData <MyHandler> a_contexts;
-  void eventReceiveMessage(anna::comm::ClientSocket&, const anna::comm::Message&) throw(anna::RuntimeException);
-  void eventBreakConnection(Server* server) throw();
+  void eventReceiveMessage(anna::comm::ClientSocket&, const anna::comm::Message&) noexcept(false);
+  void eventBreakConnection(Server* server) ;
 };
 
 #endif