summaryrefslogtreecommitdiff
path: root/qadevOOo/tests/java/mod/_fwk/SoundHandler.java
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-10-16 12:16:51 +0200
committerNoel Grandin <noel@peralex.com>2014-10-16 12:27:13 +0200
commit5cba8d44cabc3cbb18648efc9d8658d471b257e7 (patch)
tree7656e262fcc7b590c2c6a87f966e08956e2f14ec /qadevOOo/tests/java/mod/_fwk/SoundHandler.java
parent25d70197a4e428d1dbde59209505f76d33287416 (diff)
java: when rethrowing, store the original exception
Change-Id: Idfca83a2a646acab90886c0ef9c30dd7d2fc8b53
Diffstat (limited to 'qadevOOo/tests/java/mod/_fwk/SoundHandler.java')
-rw-r--r--qadevOOo/tests/java/mod/_fwk/SoundHandler.java4
1 files changed, 1 insertions, 3 deletions
diff --git a/qadevOOo/tests/java/mod/_fwk/SoundHandler.java b/qadevOOo/tests/java/mod/_fwk/SoundHandler.java
index d0c550ad6929..d563645e2762 100644
--- a/qadevOOo/tests/java/mod/_fwk/SoundHandler.java
+++ b/qadevOOo/tests/java/mod/_fwk/SoundHandler.java
@@ -55,9 +55,7 @@ public class SoundHandler extends TestCase {
oObj = (XInterface)Param.getMSF().createInstance(
"com.sun.star.frame.ContentHandler");
} catch(com.sun.star.uno.Exception e) {
- e.printStackTrace(log);
- throw new StatusException(
- Status.failed("Couldn't create instance"));
+ throw new StatusException(e, Status.failed("Couldn't create instance"));
}
TestEnvironment tEnv = new TestEnvironment( oObj );