summaryrefslogtreecommitdiff
path: root/qadevOOo/tests/java/mod/_sc/AccessibleEditableTextPara_PreviewCell.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/_sc/AccessibleEditableTextPara_PreviewCell.java
parent25d70197a4e428d1dbde59209505f76d33287416 (diff)
java: when rethrowing, store the original exception
Change-Id: Idfca83a2a646acab90886c0ef9c30dd7d2fc8b53
Diffstat (limited to 'qadevOOo/tests/java/mod/_sc/AccessibleEditableTextPara_PreviewCell.java')
-rw-r--r--qadevOOo/tests/java/mod/_sc/AccessibleEditableTextPara_PreviewCell.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/qadevOOo/tests/java/mod/_sc/AccessibleEditableTextPara_PreviewCell.java b/qadevOOo/tests/java/mod/_sc/AccessibleEditableTextPara_PreviewCell.java
index e0f9a2e8581b..360970b88a75 100644
--- a/qadevOOo/tests/java/mod/_sc/AccessibleEditableTextPara_PreviewCell.java
+++ b/qadevOOo/tests/java/mod/_sc/AccessibleEditableTextPara_PreviewCell.java
@@ -134,7 +134,7 @@ public class AccessibleEditableTextPara_PreviewCell extends TestCase {
xDispatcher.dispatch( aURL, null );
} catch (com.sun.star.uno.Exception e) {
log.println("Couldn't change mode");
- throw new StatusException(Status.failed("Couldn't change mode"));
+ throw new StatusException(e, Status.failed("Couldn't change mode"));
}
XAccessibleContext oObj = null;