[seam-commits] Seam SVN: r8796 - trunk/src/main/org/jboss/seam/init.

seam-commits at lists.jboss.org seam-commits at lists.jboss.org
Mon Aug 25 06:50:40 EDT 2008


Author: pete.muir at jboss.org
Date: 2008-08-25 06:50:39 -0400 (Mon, 25 Aug 2008)
New Revision: 8796

Modified:
   trunk/src/main/org/jboss/seam/init/DependencyManager.java
Log:
should also catch NCDFE (an error, not an exception)

Modified: trunk/src/main/org/jboss/seam/init/DependencyManager.java
===================================================================
--- trunk/src/main/org/jboss/seam/init/DependencyManager.java	2008-08-25 10:30:32 UTC (rev 8795)
+++ trunk/src/main/org/jboss/seam/init/DependencyManager.java	2008-08-25 10:50:39 UTC (rev 8796)
@@ -136,7 +136,11 @@
             try 
             {   
                 descriptor.getComponentClass().getClassLoader().loadClass(className);
-            } 
+            }
+            catch (NoClassDefFoundError e)
+            {
+               return false;
+            }
             catch (Exception e)
             {
                 return false;                 




More information about the seam-commits mailing list