Remove dynamic exceptions
[anna.git] / source / ldap / internal / Timer.cpp
index 230e41e..c685d38 100644 (file)
@@ -17,7 +17,7 @@ using namespace std;
 using namespace anna;
 
 void ldap::Timer::expire(timex::Engine*)
-throw(RuntimeException) {
+noexcept(false) {
   Response* response = getResponse();
   Session* session = response->getSession();
   Guard guard(session, "anna::ldap::Timer::expire");
@@ -30,7 +30,7 @@ throw(RuntimeException) {
 }
 
 string ldap::Timer::asString() const
-throw() {
+{
   const Response* response = getResponse();
   string result("anna::ldap::Timer { ");
   result += timex::Transaction::asString();