Remove dynamic exceptions
[anna.git] / include / anna / diameter.comm / ServerSessionReceiver.hpp
index c3152c2..03397b3 100644 (file)
@@ -36,17 +36,17 @@ class ServerSessionReceiver : public anna::comm::Receiver {
 public:
   virtual ~ServerSessionReceiver() {;}
 
-  static const char* className() throw() { return "diameter.comm.ServerSessionReceiver"; }
-  void setReference(ServerSession *s) throw() { a_session = s; }
+  static const char* className() { return "diameter.comm.ServerSessionReceiver"; }
+  void setReference(ServerSession *s) { a_session = s; }
 
   // base class virtuals
-  void eventBreakLocalConnection(const anna::comm::ClientSocket&cli) throw();
-  //void eventCreateConnection(const anna::comm::Server*srv) throw();
+  void eventBreakLocalConnection(const anna::comm::ClientSocket&cli) ;
+  //void eventCreateConnection(const anna::comm::Server*srv) ;
 
 private:
   ServerSessionReceiver() : anna::comm::Receiver("diameter.comm.ServerSessionReceiver") { a_session = NULL; }
-  void initialize() throw(anna::RuntimeException) {;}
-  void apply(anna::comm::ClientSocket&, const anna::comm::Message&) throw(anna::RuntimeException);
+  void initialize() noexcept(false) {;}
+  void apply(anna::comm::ClientSocket&, const anna::comm::Message&) noexcept(false);
 
 
   anna::diameter::comm::ServerSession *a_session;