diff options
Diffstat (limited to 'libjava/java/rmi/server/RemoteObject.java')
-rw-r--r-- | libjava/java/rmi/server/RemoteObject.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libjava/java/rmi/server/RemoteObject.java b/libjava/java/rmi/server/RemoteObject.java index 8ae93ff8844..a1febf2dd62 100644 --- a/libjava/java/rmi/server/RemoteObject.java +++ b/libjava/java/rmi/server/RemoteObject.java @@ -127,11 +127,11 @@ public boolean equals(Object obj) { } catch (InstantiationException e1) { - throw new UnmarshalException("failed to create ref"); + throw new UnmarshalException("failed to create ref", e1); } catch (IllegalAccessException e2) { - throw new UnmarshalException("failed to create ref"); + throw new UnmarshalException("failed to create ref", e2); } ref.readExternal(in); } |