summaryrefslogtreecommitdiff
path: root/qadevOOo/runner/util/DesktopTools.java
diff options
context:
space:
mode:
Diffstat (limited to 'qadevOOo/runner/util/DesktopTools.java')
-rw-r--r--qadevOOo/runner/util/DesktopTools.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/qadevOOo/runner/util/DesktopTools.java b/qadevOOo/runner/util/DesktopTools.java
index 646ffcbdce5d..e0cc25f6e746 100644
--- a/qadevOOo/runner/util/DesktopTools.java
+++ b/qadevOOo/runner/util/DesktopTools.java
@@ -83,7 +83,7 @@ public class DesktopTools
}
catch (com.sun.star.uno.Exception e)
{
- throw new IllegalArgumentException("Desktop Service not available");
+ throw new IllegalArgumentException("Desktop Service not available", e);
}
return oInterface;
@@ -230,7 +230,7 @@ public class DesktopTools
}
catch (com.sun.star.uno.Exception e)
{
- throw new IllegalArgumentException("Document could not be opened");
+ throw new IllegalArgumentException("Document could not be opened", e);
}
return oDoc;
@@ -258,7 +258,7 @@ public class DesktopTools
}
catch (com.sun.star.uno.Exception e)
{
- throw new IllegalArgumentException("Document could not be loaded");
+ throw new IllegalArgumentException("Document could not be loaded", e);
}
bringWindowToFront(oDoc);