summaryrefslogtreecommitdiff
path: root/qadevOOo/tests/java/mod/_fwl/TypeDetection.java
diff options
context:
space:
mode:
Diffstat (limited to 'qadevOOo/tests/java/mod/_fwl/TypeDetection.java')
-rw-r--r--qadevOOo/tests/java/mod/_fwl/TypeDetection.java6
1 files changed, 2 insertions, 4 deletions
diff --git a/qadevOOo/tests/java/mod/_fwl/TypeDetection.java b/qadevOOo/tests/java/mod/_fwl/TypeDetection.java
index dfa8f98175fc..f64f20b9a534 100644
--- a/qadevOOo/tests/java/mod/_fwl/TypeDetection.java
+++ b/qadevOOo/tests/java/mod/_fwl/TypeDetection.java
@@ -119,11 +119,9 @@ public class TypeDetection extends TestCase {
try{
instance = (Object[]) xNA.getByName(elementName);
} catch (com.sun.star.container.NoSuchElementException e){
- throw new StatusException(
- Status.failed("Couldn't get elements from object"));
+ throw new StatusException(e, Status.failed("Couldn't get elements from object"));
} catch (com.sun.star.lang.WrappedTargetException e){
- throw new StatusException(
- Status.failed("Couldn't get elements from object"));
+ throw new StatusException(e, Status.failed("Couldn't get elements from object"));
}
log.println("adding INSTANCE 1 as obj relation to environment");