summaryrefslogtreecommitdiff
path: root/bean
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@collabora.co.uk>2016-04-27 15:43:28 +0200
committerMiklos Vajna <vmiklos@collabora.co.uk>2016-04-27 16:42:31 +0000
commitdb4cba76033124cbf1baa560b99700987fcdd3ae (patch)
tree25a1ee28588906e01f89a6f0fc9b942b35e24b7a /bean
parentb71f470e370c1819cba99abe5ef654d28bbf8749 (diff)
beans: if loading a library fails, show the reason
Don't do it for the MSVC libraries though, e.g. on my system loading msvcr70 fails, but the SDK example works without problems. Change-Id: I81bc0b64967e7abb74ca1fff7a2e4b4dbd75d5a5 Reviewed-on: https://gerrit.libreoffice.org/24432 Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk> Tested-by: Jenkins <ci@libreoffice.org>
Diffstat (limited to 'bean')
-rw-r--r--bean/com/sun/star/comp/beans/LocalOfficeConnection.java8
1 files changed, 6 insertions, 2 deletions
diff --git a/bean/com/sun/star/comp/beans/LocalOfficeConnection.java b/bean/com/sun/star/comp/beans/LocalOfficeConnection.java
index 5c67e905a5f1..c2d17b7c0e33 100644
--- a/bean/com/sun/star/comp/beans/LocalOfficeConnection.java
+++ b/bean/com/sun/star/comp/beans/LocalOfficeConnection.java
@@ -99,7 +99,8 @@ public class LocalOfficeConnection
catch (Throwable e)
{
// loading twice would fail
- System.err.println( "cannot find uwinapi" );
+ System.err.println("cannot find uwinapi:");
+ e.printStackTrace();
}
try
@@ -109,7 +110,8 @@ public class LocalOfficeConnection
catch (Throwable e)
{
// loading twice would fail
- System.err.println( "cannot find jawt" );
+ System.err.println("cannot find jawt:");
+ e.printStackTrace();
}
}
@@ -773,3 +775,5 @@ public class LocalOfficeConnection
}
}
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */