summaryrefslogtreecommitdiff
path: root/cpp/src/Ice/Reference.cpp
diff options
context:
space:
mode:
authorJose <jose@zeroc.com>2009-08-03 18:49:26 +0200
committerJose <jose@zeroc.com>2009-08-03 18:49:26 +0200
commit41cd58bcf2ca7f4ca9af28b6c662b873736b12d6 (patch)
tree8636344eda08aea115533be667b6e4d4525b2d96 /cpp/src/Ice/Reference.cpp
parent4181 - demo/Glacier2/chat should use AMI. (diff)
downloadice-41cd58bcf2ca7f4ca9af28b6c662b873736b12d6.tar.bz2
ice-41cd58bcf2ca7f4ca9af28b6c662b873736b12d6.tar.xz
ice-41cd58bcf2ca7f4ca9af28b6c662b873736b12d6.zip
3986 - Calling get_connectionId on a fixed proxy should raise FixedProxyException
Diffstat (limited to 'cpp/src/Ice/Reference.cpp')
-rw-r--r--cpp/src/Ice/Reference.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/cpp/src/Ice/Reference.cpp b/cpp/src/Ice/Reference.cpp
index 597029af9aa..521699474ec 100644
--- a/cpp/src/Ice/Reference.cpp
+++ b/cpp/src/Ice/Reference.cpp
@@ -534,7 +534,8 @@ IceInternal::FixedReference::getLocatorCacheTimeout() const
string
IceInternal::FixedReference::getConnectionId() const
{
- return string();
+ throw FixedProxyException(__FILE__, __LINE__);
+ return string(); // Keep the compiler happy.
}
ReferencePtr