summaryrefslogtreecommitdiff
path: root/cppe/src
diff options
context:
space:
mode:
authorMichi Henning <michi@zeroc.com>2005-07-22 00:59:35 +0000
committerMichi Henning <michi@zeroc.com>2005-07-22 00:59:35 +0000
commit74569621a77a45c4498935bca5bb2c6728fa871d (patch)
tree47e0b164eb04533f48f6121603af7b603e73bb22 /cppe/src
parentmore fixes for bug 421 (diff)
downloadice-74569621a77a45c4498935bca5bb2c6728fa871d.tar.bz2
ice-74569621a77a45c4498935bca5bb2c6728fa871d.tar.xz
ice-74569621a77a45c4498935bca5bb2c6728fa871d.zip
Fixed bug 418.
Diffstat (limited to 'cppe/src')
-rw-r--r--cppe/src/IceE/Reference.cpp10
-rw-r--r--cppe/src/IceE/Reference.h1
2 files changed, 8 insertions, 3 deletions
diff --git a/cppe/src/IceE/Reference.cpp b/cppe/src/IceE/Reference.cpp
index 9e8f75e919c..c5a6594d1e5 100644
--- a/cppe/src/IceE/Reference.cpp
+++ b/cppe/src/IceE/Reference.cpp
@@ -442,9 +442,13 @@ IceInternal::FixedReference::changeTimeout(int) const
void
IceInternal::FixedReference::streamWrite(BasicStream* s) const
{
- MarshalException ex(__FILE__, __LINE__);
- ex.reason = "Cannot marshal a fixed reference";
- throw ex;
+ throw MarshalException(__FILE__, __LINE__, "Cannot marshal a fixed reference");
+}
+
+string
+IceInternal::FixedReference::toString() const
+{
+ throw MarshalException(__FILE__, __LINE__, "Cannot marshal a fixed reference");
}
ConnectionPtr
diff --git a/cppe/src/IceE/Reference.h b/cppe/src/IceE/Reference.h
index d579e37d1d2..ff1ca663043 100644
--- a/cppe/src/IceE/Reference.h
+++ b/cppe/src/IceE/Reference.h
@@ -145,6 +145,7 @@ public:
virtual ReferencePtr changeTimeout(int) const;
virtual void streamWrite(BasicStream*) const;
+ virtual std::string toString() const;
virtual Ice::ConnectionPtr getConnection() const;