Remove dynamic exceptions
[anna.git] / source / comm / ReceiverFactory.cpp
index b98a894..a4dc5f6 100644 (file)
@@ -28,7 +28,7 @@ comm::ReceiverFactory::ReceiverFactory(const char* name) :
 // En entornos ST solo habra una unica instancia compartida por todos los comm::ClientSocket
 //---------------------------------------------------------------------------------------------
 comm::Receiver* comm::ReceiverFactory::create()
-throw(RuntimeException) {
+noexcept(false) {
   comm::Receiver* result(NULL);
   WHEN_SINGLETHREAD(
 
@@ -46,7 +46,7 @@ throw(RuntimeException) {
 }
 
 void comm::ReceiverFactory::release(comm::Receiver* receiver)
-throw() {
+{
   WHEN_MULTITHREAD(
 
   try {
@@ -59,7 +59,7 @@ throw() {
 }
 
 xml::Node* comm::ReceiverFactory::asXML(xml::Node* parent) const
-throw() {
+{
   xml::Node* result = parent->createChild("Receiver");
   result->createAttribute("Name", a_name);
   return result;