summaryrefslogtreecommitdiff
path: root/qadevOOo/tests/java/mod
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-10-16 14:44:23 +0200
committerNoel Grandin <noel@peralex.com>2014-10-17 08:26:22 +0200
commit93056481e85548e1228d3b88e53ee59ed983576e (patch)
tree9187af96ec8799f883bfefe0667553b2cc3c905a /qadevOOo/tests/java/mod
parent03c7c26cbe7d75f103515e62dc39103f11d4637f (diff)
java: when rethrowing exceptions, store the original
Change-Id: I8a2a264597d0b1ae06b08136fea36003682380b5
Diffstat (limited to 'qadevOOo/tests/java/mod')
-rw-r--r--qadevOOo/tests/java/mod/_dbaccess/TableWindowAccessibility.java3
1 files changed, 1 insertions, 2 deletions
diff --git a/qadevOOo/tests/java/mod/_dbaccess/TableWindowAccessibility.java b/qadevOOo/tests/java/mod/_dbaccess/TableWindowAccessibility.java
index 17839ab97c3b..aaa4303b2a90 100644
--- a/qadevOOo/tests/java/mod/_dbaccess/TableWindowAccessibility.java
+++ b/qadevOOo/tests/java/mod/_dbaccess/TableWindowAccessibility.java
@@ -164,8 +164,7 @@ public class TableWindowAccessibility extends TestCase {
store.storeAsURL(aFile,new PropertyValue[]{});
log.println("... done");
} catch (com.sun.star.uno.Exception e) {
- e.printStackTrace(log);
- throw new StatusException(Status.failed("Couldn't register object"));
+ throw new StatusException(e, Status.failed("Couldn't register object"));
}
isolConnection = UnoRuntime.queryInterface(