summaryrefslogtreecommitdiff
path: root/scripting/java/Framework/com/sun/star/script/framework/security/SecurityDialog.java
diff options
context:
space:
mode:
Diffstat (limited to 'scripting/java/Framework/com/sun/star/script/framework/security/SecurityDialog.java')
-rw-r--r--scripting/java/Framework/com/sun/star/script/framework/security/SecurityDialog.java10
1 files changed, 3 insertions, 7 deletions
diff --git a/scripting/java/Framework/com/sun/star/script/framework/security/SecurityDialog.java b/scripting/java/Framework/com/sun/star/script/framework/security/SecurityDialog.java
index b9df352d56e4..92f5ee777f97 100644
--- a/scripting/java/Framework/com/sun/star/script/framework/security/SecurityDialog.java
+++ b/scripting/java/Framework/com/sun/star/script/framework/security/SecurityDialog.java
@@ -165,7 +165,7 @@ public class SecurityDialog extends WeakBase implements
try {
checkBoxPath = AnyConverter.toString(args[0]);
} catch (IllegalArgumentException e) {
- throw new RuntimeException("SecurityDialog::initialize: " + e.getMessage());
+ throw new RuntimeException(e);
}
LogUtils.DEBUG("path: " + checkBoxPath);
@@ -189,13 +189,9 @@ public class SecurityDialog extends WeakBase implements
try {
_xDialog = createDialog();
} catch (com.sun.star.uno.Exception e) {
- LogUtils.DEBUG("Couldn't create dialog");
- LogUtils.DEBUG("uno message: " + e.getMessage());
- throw new RuntimeException(e.getMessage());
+ throw new RuntimeException(e);
} catch (Exception e) {
- LogUtils.DEBUG("Couldn't create dialog");
- LogUtils.DEBUG("message: " + e.getMessage());
- throw new RuntimeException(e.getMessage());
+ throw new RuntimeException(e);
}
}