aboutsummaryrefslogtreecommitdiff
path: root/devel/ice/files/patch-cpp-src-IceGrid-ReplicaSessionManager.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'devel/ice/files/patch-cpp-src-IceGrid-ReplicaSessionManager.cpp')
-rw-r--r--devel/ice/files/patch-cpp-src-IceGrid-ReplicaSessionManager.cpp17
1 files changed, 17 insertions, 0 deletions
diff --git a/devel/ice/files/patch-cpp-src-IceGrid-ReplicaSessionManager.cpp b/devel/ice/files/patch-cpp-src-IceGrid-ReplicaSessionManager.cpp
new file mode 100644
index 000000000000..21823d895842
--- /dev/null
+++ b/devel/ice/files/patch-cpp-src-IceGrid-ReplicaSessionManager.cpp
@@ -0,0 +1,17 @@
+--- cpp.orig/src/IceGrid/ReplicaSessionManager.cpp 2011-06-15 21:43:59.000000000 +0200
++++ cpp/src/IceGrid/ReplicaSessionManager.cpp 2012-03-04 19:55:44.000000000 +0100
+@@ -500,6 +500,14 @@
+ }
+ exception.reset(ex.ice_clone());
+ }
++ catch(const PermissionDeniedException& ex)
++ {
++ if(_traceLevels)
++ {
++ _traceLevels->logger->error("connection to the the registry `" + _name + "' was denied:\n" + ex.reason);
++ }
++ exception.reset(ex.ice_clone());
++ }
+ catch(const Ice::Exception& ex)
+ {
+ exception.reset(ex.ice_clone());