[Libreoffice-commits] .: jurt/com
Stephan Bergmann
sbergmann at kemper.freedesktop.org
Mon May 7 02:02:41 PDT 2012
jurt/com/sun/star/comp/loader/JavaLoader.java | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
New commits:
commit eac5b793aa4a39dcbdd7caf4b4e939a204c5c333
Author: Stephan Bergmann <sbergman at redhat.com>
Date: Mon May 7 11:01:55 2012 +0200
Improved error reporting
Change-Id: Ifbb44b8d711b82f5d3ca0cd678579e9dcbb44bf2
diff --git a/jurt/com/sun/star/comp/loader/JavaLoader.java b/jurt/com/sun/star/comp/loader/JavaLoader.java
index 113e763..cffed88 100644
--- a/jurt/com/sun/star/comp/loader/JavaLoader.java
+++ b/jurt/com/sun/star/comp/loader/JavaLoader.java
@@ -428,7 +428,10 @@ public class JavaLoader implements XImplementationLoader,
success = ((Boolean) oRet).booleanValue();
}
catch (Exception e) {
- throw new CannotRegisterImplementationException( e.getMessage());
+ CannotRegisterImplementationException e2 =
+ new CannotRegisterImplementationException(e.toString());
+ e2.initCause(e);
+ throw e2;
}
return success;
More information about the Libreoffice-commits
mailing list