diff options
Diffstat (limited to 'cpp/src/Ice/Reference.cpp')
-rw-r--r-- | cpp/src/Ice/Reference.cpp | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/cpp/src/Ice/Reference.cpp b/cpp/src/Ice/Reference.cpp index ceb0e996961..3c714335291 100644 --- a/cpp/src/Ice/Reference.cpp +++ b/cpp/src/Ice/Reference.cpp @@ -501,9 +501,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"); } ConnectionIPtr |