summaryrefslogtreecommitdiff
path: root/jurt/com
diff options
context:
space:
mode:
authorJoachim Lingner <jl@openoffice.org>2002-10-22 14:46:43 +0000
committerJoachim Lingner <jl@openoffice.org>2002-10-22 14:46:43 +0000
commitbe2022e70a3f783906dd33203286ffd3a3957cbf (patch)
tree1f160e83aa592572c0fad82bb0882c820d836b34 /jurt/com
parent4a4566e7b9ecf812bce6f5f2d43ec57c4aa7baaa (diff)
#97822#
Diffstat (limited to 'jurt/com')
-rw-r--r--jurt/com/sun/star/comp/loader/JavaLoader.java10
1 files changed, 4 insertions, 6 deletions
diff --git a/jurt/com/sun/star/comp/loader/JavaLoader.java b/jurt/com/sun/star/comp/loader/JavaLoader.java
index 76947a739386..1a23463c2cf7 100644
--- a/jurt/com/sun/star/comp/loader/JavaLoader.java
+++ b/jurt/com/sun/star/comp/loader/JavaLoader.java
@@ -2,9 +2,9 @@
*
* $RCSfile: JavaLoader.java,v $
*
- * $Revision: 1.9 $
+ * $Revision: 1.10 $
*
- * last change: $Author: jl $ $Date: 2002-10-01 13:30:46 $
+ * last change: $Author: jl $ $Date: 2002-10-22 15:46:43 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -106,7 +106,7 @@ import java.net.MalformedURLException;
* service. Therefor the <code>JavaLoader</code> activates external UNO components which are implemented in Java.
* The loader is used by the <code>ServiceManger</code>.
* <p>
- * @version $Revision: 1.9 $ $ $Date: 2002-10-01 13:30:46 $
+ * @version $Revision: 1.10 $ $ $Date: 2002-10-22 15:46:43 $
* @author Markus Herzog
* @see com.sun.star.loader.XImplementationLoader
* @see com.sun.star.loader.Java
@@ -453,9 +453,7 @@ public class JavaLoader implements XImplementationLoader,
success = ((Boolean) oRet).booleanValue();
}
catch (Exception e) {
- // default registration
- ComponentFactoryWrapper wrapp = new ComponentFactoryWrapper(null, locationUrl);
- success = wrapp.writeRegistryServiceInfo(regKey);
+ throw new CannotRegisterImplementationException( e.getMessage());
}
return success;