summaryrefslogtreecommitdiff
path: root/jurt
diff options
context:
space:
mode:
authorVladimir Glazounov <vg@openoffice.org>2003-04-24 13:03:33 +0000
committerVladimir Glazounov <vg@openoffice.org>2003-04-24 13:03:33 +0000
commitb263866f00779d6d16ef9d5fd3121ac82a1cf100 (patch)
tree8df820d4f358a6cfd6deba1cb4998b215050b36f /jurt
parentf79e7c7a0357966570b036922ed55221c2e5208e (diff)
INTEGRATION: CWS uno3 (1.11.8); FILE MERGED
2003/04/17 09:19:03 dbo 1.11.8.1: #i9518#
Diffstat (limited to 'jurt')
-rw-r--r--jurt/com/sun/star/comp/loader/JavaLoader.java15
1 files changed, 12 insertions, 3 deletions
diff --git a/jurt/com/sun/star/comp/loader/JavaLoader.java b/jurt/com/sun/star/comp/loader/JavaLoader.java
index 18b7fed4db85..3e46951554d0 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.11 $
+ * $Revision: 1.12 $
*
- * last change: $Author: hr $ $Date: 2003-03-26 12:32:54 $
+ * last change: $Author: vg $ $Date: 2003-04-24 14:03:33 $
*
* 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.11 $ $ $Date: 2003-03-26 12:32:54 $
+ * @version $Revision: 1.12 $ $ $Date: 2003-04-24 14:03:33 $
* @author Markus Herzog
* @see com.sun.star.loader.XImplementationLoader
* @see com.sun.star.loader.Java
@@ -339,6 +339,15 @@ public class JavaLoader implements XImplementationLoader,
throw cae;
}
+ if (null == clazz)
+ {
+ CannotActivateFactoryException cae =
+ new CannotActivateFactoryException(
+ "Cannot determine activation class!" );
+ cae.fillInStackTrace();
+ throw cae;
+ }
+
Class[] paramTypes = {String.class, XMultiServiceFactory.class, XRegistryKey.class};
Object[] params = { implementationName, multiServiceFactory, xKey };