summaryrefslogtreecommitdiff
path: root/cpp/src/IceGrid/InternalRegistryI.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/src/IceGrid/InternalRegistryI.cpp')
-rw-r--r--cpp/src/IceGrid/InternalRegistryI.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/cpp/src/IceGrid/InternalRegistryI.cpp b/cpp/src/IceGrid/InternalRegistryI.cpp
index d5a62e7c512..6490c35717c 100644
--- a/cpp/src/IceGrid/InternalRegistryI.cpp
+++ b/cpp/src/IceGrid/InternalRegistryI.cpp
@@ -90,9 +90,9 @@ InternalRegistryI::registerNode(const InternalNodeInfoPtr& info,
throw PermissionDeniedException("node certificate is required to connect to this registry");
}
}
- catch(const PermissionDeniedException& ex)
+ catch(const PermissionDeniedException&)
{
- throw ex;
+ throw;
}
catch(const IceUtil::Exception&)
{
@@ -157,9 +157,9 @@ InternalRegistryI::registerReplica(const InternalReplicaInfoPtr& info,
throw PermissionDeniedException("replica certificate is required to connect to this registry");
}
}
- catch(const PermissionDeniedException& ex)
+ catch(const PermissionDeniedException&)
{
- throw ex;
+ throw;
}
catch(const IceUtil::Exception&)
{