diff options
author | Kay Ramme <kr@openoffice.org> | 2000-11-28 13:47:05 +0000 |
---|---|---|
committer | Kay Ramme <kr@openoffice.org> | 2000-11-28 13:47:05 +0000 |
commit | 8214d01a8b6fe0200238900eee23c87238429f82 (patch) | |
tree | d75caef6a63fb609dc44f870c47534f1f95d6095 /jurt/com/sun/star/comp/loader/JavaLoader.java | |
parent | b84d44b41ed34e4dde4b424780dc244a4e25c981 (diff) |
give the reason of InvocationTargetException
Diffstat (limited to 'jurt/com/sun/star/comp/loader/JavaLoader.java')
-rw-r--r-- | jurt/com/sun/star/comp/loader/JavaLoader.java | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/jurt/com/sun/star/comp/loader/JavaLoader.java b/jurt/com/sun/star/comp/loader/JavaLoader.java index bdb5b5552bba..0597764d0923 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.1.1.1 $ + * $Revision: 1.2 $ * - * last change: $Author: hr $ $Date: 2000-09-18 15:27:51 $ + * last change: $Author: kr $ $Date: 2000-11-28 14:47:05 $ * * 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.1.1.1 $ $ $Date: 2000-09-18 15:27:51 $ + * @version $Revision: 1.2 $ $ $Date: 2000-11-28 14:47:05 $ * @author Markus Herzog * @see com.sun.star.loader.XImplementationLoader * @see com.sun.star.loader.Java @@ -318,7 +318,7 @@ public class JavaLoader implements XImplementationLoader, } catch ( InvocationTargetException e ) { throw new CannotActivateFactoryException("Can not activate the factory for " - + implementationName + " because " + e.toString() ); + + implementationName + " because " + e.getTargetException().toString() ); } // if no method is found make a factory wrapper for the implementation and return it if ( needFactoryWrapper ) { @@ -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.1.1.1 $ $ $Date: 2000-09-18 15:27:51 $ + * @version $Revision: 1.2 $ $ $Date: 2000-11-28 14:47:05 $ * @author Markus Herzog * @since UDK1.0 */ |