Remove dynamic exceptions
[anna.git] / source / comm / internal / ConnectionRecover.cpp
index 9f25781..a56931a 100644 (file)
@@ -25,7 +25,7 @@ using namespace anna;
  * Se invoca desde el handler::RemoteConnection::finalize y debe estar protegido por la SSCC del Communicator
  */
 void comm::ConnectionRecover::annotateFault(comm::Server* server)
-throw() {
+{
   if(server->autoRecovery() == false)
     return;
 
@@ -49,7 +49,7 @@ throw() {
  * Se invoca desde el Communicator y en MT debe estar protegido por la SSCC del Communicator
  */
 void comm::ConnectionRecover::tryRecover()
-throw() {
+{
   LOGMETHOD(TraceMethod traceMethod(Logger::Local7, "comm::ConnectionRecover", "tryRecover", ANNA_FILE_LOCATION));
   Millisecond now(functions::millisecond());
 
@@ -98,14 +98,14 @@ throw() {
 
 /*
 bool comm::ConnectionRecover::contains (comm::Server* server) const
-   throw ()
+   
 {
    Guard guard (a_mutex, "comm::ConnectionRecover::contains");
    return std::find (a_breaks.begin (), a_breaks.end (), server) != a_breaks.end ();
 }
 
 void comm::ConnectionRecover::erase (comm::Server* server)
-   throw ()
+   
 {
    Guard guard (a_mutex, "comm::ConnectionRecover::erase");
 
@@ -123,7 +123,7 @@ void comm::ConnectionRecover::erase (comm::Server* server)
 */
 
 xml::Node* comm::ConnectionRecover::asXML(xml::Node* parent) const
-throw(RuntimeException) {
+noexcept(false) {
   xml::Node* connectionRecover = parent->createChild("comm.ConnectionRecover");
   connectionRecover->createAttribute("Active", functions::asString(a_isRunning));