summaryrefslogtreecommitdiff
path: root/jurt/com/sun/star/comp/loader/JavaLoader.java
diff options
context:
space:
mode:
authorKay Ramme <kr@openoffice.org>2001-02-19 09:01:01 +0000
committerKay Ramme <kr@openoffice.org>2001-02-19 09:01:01 +0000
commit4741d1a9f33b107549446ba5f6d2e4e32952179a (patch)
treef3e2a48e749293465e6910f019f9e83742f1d100 /jurt/com/sun/star/comp/loader/JavaLoader.java
parent6432c6c1da26b9f7d164ffd23eaa7c08f5bd6c16 (diff)
resolve InvocationTargetException
Diffstat (limited to 'jurt/com/sun/star/comp/loader/JavaLoader.java')
-rw-r--r--jurt/com/sun/star/comp/loader/JavaLoader.java12
1 files changed, 6 insertions, 6 deletions
diff --git a/jurt/com/sun/star/comp/loader/JavaLoader.java b/jurt/com/sun/star/comp/loader/JavaLoader.java
index 0597764d0923..aa424370feb4 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.2 $
+ * $Revision: 1.3 $
*
- * last change: $Author: kr $ $Date: 2000-11-28 14:47:05 $
+ * last change: $Author: kr $ $Date: 2001-02-19 10:01:01 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -96,7 +96,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.2 $ $ $Date: 2000-11-28 14:47:05 $
+ * @version $Revision: 1.3 $ $ $Date: 2001-02-19 10:01:01 $
* @author Markus Herzog
* @see com.sun.star.loader.XImplementationLoader
* @see com.sun.star.loader.Java
@@ -425,7 +425,7 @@ public class JavaLoader implements XImplementationLoader,
* the registration at a registry in a default manner. The class is used by the <code>JavaLoader</code> if the
* a component does not comes with its own methods for creating a factory or for the registration.
* <p>
- * @version $Revision: 1.2 $ $ $Date: 2000-11-28 14:47:05 $
+ * @version $Revision: 1.3 $ $ $Date: 2001-02-19 10:01:01 $
* @author Markus Herzog
* @since UDK1.0
*/
@@ -512,7 +512,7 @@ class ComponentFactoryWrapper
throw new CannotRegisterImplementationException("Can not register " + implName + " because " + e.toString() );
}
catch (InvocationTargetException e) {
- throw new CannotRegisterImplementationException("Can not register " + implName + " because " + e.toString() );
+ throw new CannotRegisterImplementationException("Can not register " + implName + " because " + e.getTargetException() );
}
@@ -762,7 +762,7 @@ class ComponentFactoryWrapper
}
catch (InvocationTargetException e) {
throw new com.sun.star.uno.Exception("Can not create instance with arguments for "
- + implName + " because " + e.toString() );
+ + implName + " because " + e.getTargetException() );
}
}