felix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rickh...@apache.org
Subject svn commit: r416742 - /incubator/felix/trunk/org.apache.felix.framework/src/main/java/org/apache/felix/framework/Felix.java
Date Fri, 23 Jun 2006 15:27:32 GMT
Author: rickhall
Date: Fri Jun 23 08:27:31 2006
New Revision: 416742

URL: http://svn.apache.org/viewvc?rev=416742&view=rev
Log:
Modified framework to nest a class not found exception into the bundle
exception when the activator cannot be found.

Modified:
    incubator/felix/trunk/org.apache.felix.framework/src/main/java/org/apache/felix/framework/Felix.java

Modified: incubator/felix/trunk/org.apache.felix.framework/src/main/java/org/apache/felix/framework/Felix.java
URL: http://svn.apache.org/viewvc/incubator/felix/trunk/org.apache.felix.framework/src/main/java/org/apache/felix/framework/Felix.java?rev=416742&r1=416741&r2=416742&view=diff
==============================================================================
--- incubator/felix/trunk/org.apache.felix.framework/src/main/java/org/apache/felix/framework/Felix.java
(original)
+++ incubator/felix/trunk/org.apache.felix.framework/src/main/java/org/apache/felix/framework/Felix.java
Fri Jun 23 08:27:31 2006
@@ -3207,7 +3207,7 @@
                 if (clazz == null)
                 {
                     throw new BundleException("Not found: "
-                        + className);
+                        + className, new ClassNotFoundException(className));
                 }
                 activator = (BundleActivator) clazz.newInstance();
             }



Mime
View raw message