diff options
author | Michi Henning <michi@zeroc.com> | 2005-07-22 00:59:35 +0000 |
---|---|---|
committer | Michi Henning <michi@zeroc.com> | 2005-07-22 00:59:35 +0000 |
commit | 74569621a77a45c4498935bca5bb2c6728fa871d (patch) | |
tree | 47e0b164eb04533f48f6121603af7b603e73bb22 /java/src/IceInternal/FixedReference.java | |
parent | more fixes for bug 421 (diff) | |
download | ice-74569621a77a45c4498935bca5bb2c6728fa871d.tar.bz2 ice-74569621a77a45c4498935bca5bb2c6728fa871d.tar.xz ice-74569621a77a45c4498935bca5bb2c6728fa871d.zip |
Fixed bug 418.
Diffstat (limited to 'java/src/IceInternal/FixedReference.java')
-rw-r--r-- | java/src/IceInternal/FixedReference.java | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/java/src/IceInternal/FixedReference.java b/java/src/IceInternal/FixedReference.java index df5db56fad1..5865f7f480c 100644 --- a/java/src/IceInternal/FixedReference.java +++ b/java/src/IceInternal/FixedReference.java @@ -91,9 +91,14 @@ public class FixedReference extends Reference streamWrite(BasicStream s) throws Ice.MarshalException { - Ice.MarshalException ex = new Ice.MarshalException(); - ex.reason = "Cannot marshal a fixed reference"; - throw ex; + throw new Ice.MarshalException("Cannot marshal a fixed reference"); + } + + public String + toString() + throws Ice.MarshalException + { + throw new Ice.MarshalException("Cannot marshal a fixed reference"); } public Ice.ConnectionI |