Remove dynamic exceptions
[anna.git] / include / anna / ldap / internal / Timer.hpp
index 0cb6803..5b5bc30 100644 (file)
@@ -22,16 +22,16 @@ class TimerManager;
 
 class Timer : public timex::Transaction {
 public:
-  Response* getResponse() throw() { return reinterpret_cast <Response*>(getContext()); }
-  const Response* getResponse() const throw() { return reinterpret_cast <const Response*>(getContext()); }
+  Response* getResponse() { return reinterpret_cast <Response*>(getContext()); }
+  const Response* getResponse() const { return reinterpret_cast <const Response*>(getContext()); }
 
-  std::string asString() const throw();
+  std::string asString() const ;
 
 private:
   Timer() {;}
 
-  void setResponse(Response* response) throw() { setContext(response); }
-  void expire(timex::Engine*) throw(RuntimeException);
+  void setResponse(Response* response) { setContext(response); }
+  void expire(timex::Engine*) noexcept(false);
 
   friend class ldap::TimerManager;
   friend class Allocator<Timer>;