Remove dynamic exceptions
[anna.git] / example / diameter / rxSimpleTest / MyLocalServer.hpp
index c1cfd57..4f25615 100755 (executable)
@@ -23,10 +23,10 @@ namespace anna {
 
 class MyLocalServer : public anna::diameter::comm::LocalServer {
 
-  void eventResponse(const anna::diameter::comm::Response&) throw(anna::RuntimeException);
-  void eventRequest(anna::diameter::comm::ServerSession *, const anna::DataBlock&) throw(anna::RuntimeException);
-  void eventUnknownResponse(anna::diameter::comm::ServerSession *, const anna::DataBlock&) throw(anna::RuntimeException);
-  void eventDPA(anna::diameter::comm::ServerSession *, const anna::DataBlock&) throw(anna::RuntimeException);
+  void eventResponse(const anna::diameter::comm::Response&) noexcept(false);
+  void eventRequest(anna::diameter::comm::ServerSession *, const anna::DataBlock&) noexcept(false);
+  void eventUnknownResponse(anna::diameter::comm::ServerSession *, const anna::DataBlock&) noexcept(false);
+  void eventDPA(anna::diameter::comm::ServerSession *, const anna::DataBlock&) noexcept(false);
 
 public:
   virtual ~MyLocalServer() {;}