summaryrefslogtreecommitdiff
path: root/odk/examples/DevelopersGuide/ProfUNO
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-10-16 12:19:14 +0200
committerNoel Grandin <noel@peralex.com>2014-10-16 12:27:15 +0200
commit9341bf3dc38b2cc117ffbe12ff057511ed6e046d (patch)
tree3a54c1764eb0e3106695292a737944507d3b4fb6 /odk/examples/DevelopersGuide/ProfUNO
parentb2f69f626409442d1f0ca5049b946946ce9b01d8 (diff)
java: when rethrowing, store the original exception
Change-Id: I34ce000c48d2d79bfec854c8dd55d12f2bee29c7
Diffstat (limited to 'odk/examples/DevelopersGuide/ProfUNO')
-rw-r--r--odk/examples/DevelopersGuide/ProfUNO/InterprocessConn/ConnectionAwareClient.java3
1 files changed, 1 insertions, 2 deletions
diff --git a/odk/examples/DevelopersGuide/ProfUNO/InterprocessConn/ConnectionAwareClient.java b/odk/examples/DevelopersGuide/ProfUNO/InterprocessConn/ConnectionAwareClient.java
index 4cf807828b5c..2a1d3836517f 100644
--- a/odk/examples/DevelopersGuide/ProfUNO/InterprocessConn/ConnectionAwareClient.java
+++ b/odk/examples/DevelopersGuide/ProfUNO/InterprocessConn/ConnectionAwareClient.java
@@ -122,8 +122,7 @@ public class ConnectionAwareClient extends java.awt.Frame
catch ( com.sun.star.uno.Exception exc )
{
_txtLabel.setText( exc.getMessage() );
- exc.printStackTrace();
- throw new java.lang.RuntimeException( exc.getMessage() );
+ throw new java.lang.RuntimeException( exc );
}
}