Remove dynamic exceptions
[anna.git] / source / comm / handler / Manager.cpp
index 2988587..99ded88 100644 (file)
@@ -21,7 +21,7 @@ template <> comm::Communicator* handler::Manager::DatagramSocketAllocator::st_co
 template <> comm::Communicator* handler::Manager::ClientSocketAllocator::st_communicator = NULL;
 
 void handler::Manager::initialize(Communicator* communicator)
-throw() {
+{
   BinderSocketAllocator::st_communicator = communicator;
   ServerSocketAllocator::st_communicator = communicator;
   LocalConnectionAllocator::st_communicator = communicator;
@@ -31,49 +31,49 @@ throw() {
 }
 
 Handler* handler::Manager::createHandler(comm::BinderSocket* binderSocket)
-throw(RuntimeException) {
+noexcept(false) {
   handler::BinderSocket* result = a_binderSockets.create();
   result->setup(binderSocket);
   return result;
 }
 
 Handler* handler::Manager::createHandler(comm::ServerSocket* serverSocket)
-throw(RuntimeException) {
+noexcept(false) {
   handler::ServerSocket* result = a_serverSockets.create();
   result->setup(serverSocket);
   return result;
 }
 
 Handler* handler::Manager::createHandler(comm::LocalConnection* localConnection)
-throw(RuntimeException) {
+noexcept(false) {
   handler::LocalConnection* result = a_localConnections.create();
   result->setup(localConnection);
   return result;
 }
 
 Handler* handler::Manager::createHandler(comm::RemoteConnection* remoteConnection)
-throw(RuntimeException) {
+noexcept(false) {
   handler::RemoteConnection* result = a_remoteConnections.create();
   result->setup(remoteConnection);
   return result;
 }
 
 Handler* handler::Manager::createHandler(comm::DatagramSocket* datagramSocket)
-throw(RuntimeException) {
+noexcept(false) {
   handler::DatagramSocket* result = a_datagramSockets.create();
   result->setup(datagramSocket);
   return result;
 }
 
 Handler* handler::Manager::createHandler(comm::ClientSocket* clientSocket)
-throw(RuntimeException) {
+noexcept(false) {
   handler::ClientSocket* result = a_clientSockets.create();
   result->setup(clientSocket);
   return result;
 }
 
 void handler::Manager::releaseHandler(Handler* handler)
-throw() {
+{
   if(handler == NULL)
     return;