Remove dynamic exceptions
[anna.git] / source / diameter.comm / Timer.cpp
index e113d24..355666d 100644 (file)
@@ -19,7 +19,7 @@ using namespace std;
 using namespace anna;
 
 void diameter::comm::Timer::expire(anna::timex::Engine*)
-throw(anna::RuntimeException) {
+noexcept(false) {
   Response* response = NULL;
   Session* session = NULL;
   LocalServer* localServer = NULL;
@@ -93,13 +93,13 @@ throw(anna::RuntimeException) {
 }
 
 const char* diameter::comm::Timer::asText(const Type::_v type)
-throw() {
+{
   static const char* text [] = { "ResponseExpiration", "SessionUnbind", "SessionRecover", "LocalServerAttach" };
   return text [type];
 }
 
 string diameter::comm::Timer::asString() const
-throw() {
+{
   string result("anna::diameter::comm::Timer { ");
   result += anna::timex::Transaction::asString();
   result += " Type: ";