[Libreoffice-commits] .: jurt/com
Stephan Bergmann
sbergmann at kemper.freedesktop.org
Tue Mar 20 10:44:58 PDT 2012
jurt/com/sun/star/comp/servicemanager/ServiceManager.java | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
New commits:
commit fb3d06e20aa2253ca5640f5391dc59a03a423b0b
Author: Stephan Bergmann <sbergman at redhat.com>
Date: Tue Mar 20 18:44:44 2012 +0100
Improve error reporting
diff --git a/jurt/com/sun/star/comp/servicemanager/ServiceManager.java b/jurt/com/sun/star/comp/servicemanager/ServiceManager.java
index 899999d..c1366a9 100644
--- a/jurt/com/sun/star/comp/servicemanager/ServiceManager.java
+++ b/jurt/com/sun/star/comp/servicemanager/ServiceManager.java
@@ -800,9 +800,9 @@ public class ServiceManager implements XMultiServiceFactory,
return enumeration.nextElement();
} catch (java.util.NoSuchElementException e) {
com.sun.star.container.NoSuchElementException ex =
- new com.sun.star.container.NoSuchElementException();
- ex.fillInStackTrace();
-
+ new com.sun.star.container.NoSuchElementException(
+ e.toString());
+ ex.initCause(e);
throw ex;
}
}
More information about the Libreoffice-commits
mailing list