diff options
author | Noel Grandin <noel@peralex.com> | 2014-10-16 12:16:51 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2014-10-16 12:27:13 +0200 |
commit | 5cba8d44cabc3cbb18648efc9d8658d471b257e7 (patch) | |
tree | 7656e262fcc7b590c2c6a87f966e08956e2f14ec /qadevOOo/tests/java/mod/_file/dbase/ODriver.java | |
parent | 25d70197a4e428d1dbde59209505f76d33287416 (diff) |
java: when rethrowing, store the original exception
Change-Id: Idfca83a2a646acab90886c0ef9c30dd7d2fc8b53
Diffstat (limited to 'qadevOOo/tests/java/mod/_file/dbase/ODriver.java')
-rw-r--r-- | qadevOOo/tests/java/mod/_file/dbase/ODriver.java | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/qadevOOo/tests/java/mod/_file/dbase/ODriver.java b/qadevOOo/tests/java/mod/_file/dbase/ODriver.java index 70ffcd27094f..e8dd2d466933 100644 --- a/qadevOOo/tests/java/mod/_file/dbase/ODriver.java +++ b/qadevOOo/tests/java/mod/_file/dbase/ODriver.java @@ -69,8 +69,7 @@ public class ODriver extends TestCase { oObj = (XInterface)Param.getMSF().createInstance( "com.sun.star.comp.sdbc.dbase.ODriver"); } catch (com.sun.star.uno.Exception e) { - e.printStackTrace(log); - throw new StatusException(Status.failed("Couldn't create object")); + throw new StatusException(e, Status.failed("Couldn't create object")); } log.println("creating a new environment for dbase.ODriver object"); |