diff options
Diffstat (limited to 'cppe/src/IceE/Reference.cpp')
-rw-r--r-- | cppe/src/IceE/Reference.cpp | 10 |
1 files changed, 7 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 |