Remove dynamic exceptions
[anna.git] / example / diameter / rxSimpleTest / MyDiameterEntity.hpp
index f328d3c..d42016d 100755 (executable)
@@ -22,11 +22,11 @@ namespace anna {
 
 class MyDiameterEntity : public anna::diameter::comm::Entity {
 
-  void eventRequestRetransmission(const anna::diameter::comm::ClientSession *, anna::diameter::comm::Message*) throw();
-  void eventResponse(const anna::diameter::comm::Response&) throw(anna::RuntimeException);
-  void eventRequest(anna::diameter::comm::ClientSession *, const anna::DataBlock&) throw(anna::RuntimeException);
-  void eventUnknownResponse(anna::diameter::comm::ClientSession *, const anna::DataBlock&) throw(anna::RuntimeException);
-  void eventDPA(anna::diameter::comm::ClientSession *, const anna::DataBlock&) throw(anna::RuntimeException);
+  void eventRequestRetransmission(const anna::diameter::comm::ClientSession *, anna::diameter::comm::Message*) ;
+  void eventResponse(const anna::diameter::comm::Response&) noexcept(false);
+  void eventRequest(anna::diameter::comm::ClientSession *, const anna::DataBlock&) noexcept(false);
+  void eventUnknownResponse(anna::diameter::comm::ClientSession *, const anna::DataBlock&) noexcept(false);
+  void eventDPA(anna::diameter::comm::ClientSession *, const anna::DataBlock&) noexcept(false);
 
 public: