Remove dynamic exceptions
[anna.git] / source / diameter.comm / TimerManager.cpp
index c98e5d6..c17b511 100644 (file)
@@ -30,7 +30,7 @@ TimerManager::TimerManager() :
 // seccion critica, lo que evita interbloqueos.
 //-------------------------------------------------------------------------------------------------------
 Timer* TimerManager::createTimer(Session* session, const anna::diameter::comm::Timer::Type::_v type)
-throw(anna::RuntimeException) {
+noexcept(false) {
   Timer* result(NULL);
 
   if(a_timeController == NULL)
@@ -57,7 +57,7 @@ throw(anna::RuntimeException) {
 
 
 Timer* TimerManager::createTimer(Response* response)
-throw(anna::RuntimeException) {
+noexcept(false) {
   Timer* result(NULL);
 
   if(a_timeController == NULL)
@@ -84,7 +84,7 @@ throw(anna::RuntimeException) {
 
 
 Timer* TimerManager::createTimer(LocalServer* localServer)
-throw(anna::RuntimeException) {
+noexcept(false) {
   Timer* result(NULL);
 
   if(a_timeController == NULL)
@@ -108,7 +108,7 @@ throw(anna::RuntimeException) {
 
 
 void TimerManager::cancelTimer(Timer* timer)
-throw() {
+{
   if(timer == NULL)
     return;
 
@@ -132,7 +132,7 @@ throw() {
 // Se invoca automaticamente desde anna::timex::Engine
 //------------------------------------------------------------------------------------------
 void TimerManager::release(anna::timex::TimeEvent* timeEvent)
-throw() {
+{
   Timer* timer = static_cast <Timer*>(timeEvent);
   timer->setContext(NULL);
   a_timers.release(timer);