summaryrefslogtreecommitdiff
path: root/java/src
diff options
context:
space:
mode:
Diffstat (limited to 'java/src')
-rw-r--r--java/src/Ice/src/main/java/com/zeroc/IceInternal/OutgoingAsync.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/java/src/Ice/src/main/java/com/zeroc/IceInternal/OutgoingAsync.java b/java/src/Ice/src/main/java/com/zeroc/IceInternal/OutgoingAsync.java
index f5e580e56f5..7a6fa9d1773 100644
--- a/java/src/Ice/src/main/java/com/zeroc/IceInternal/OutgoingAsync.java
+++ b/java/src/Ice/src/main/java/com/zeroc/IceInternal/OutgoingAsync.java
@@ -142,15 +142,15 @@ public class OutgoingAsync<T> extends ProxyOutgoingAsyncBaseI<T>
{
try
{
- throw ee.getCause();
+ throw ee.getCause().fillInStackTrace();
}
catch(RuntimeException ex) // Includes LocalException
{
- throw ex;
+ throw (RuntimeException)ex.fillInStackTrace();
}
catch(UserException ex)
{
- throw ex;
+ throw (UserException)ex.fillInStackTrace();
}
catch(Throwable ex)
{