[weld-commits] Weld SVN: r6861 - java-se/trunk/src/main/java/org/jboss/weld/environment/se/discovery/url.

weld-commits at lists.jboss.org weld-commits at lists.jboss.org
Fri Jul 30 19:53:22 EDT 2010


Author: swd847
Date: 2010-07-30 19:53:22 -0400 (Fri, 30 Jul 2010)
New Revision: 6861

Modified:
   java-se/trunk/src/main/java/org/jboss/weld/environment/se/discovery/url/FileSystemURLHandler.java
Log:
catch ResourceLoadingException so weld-se can start up if scanning causes a NCDFE


Modified: java-se/trunk/src/main/java/org/jboss/weld/environment/se/discovery/url/FileSystemURLHandler.java
===================================================================
--- java-se/trunk/src/main/java/org/jboss/weld/environment/se/discovery/url/FileSystemURLHandler.java	2010-07-30 19:10:01 UTC (rev 6860)
+++ java-se/trunk/src/main/java/org/jboss/weld/environment/se/discovery/url/FileSystemURLHandler.java	2010-07-30 23:53:22 UTC (rev 6861)
@@ -28,6 +28,7 @@
 
 import org.jboss.weld.environment.se.discovery.MutableBeanDeploymentArchive;
 import org.jboss.weld.resources.spi.ResourceLoader;
+import org.jboss.weld.resources.spi.ResourceLoadingException;
 import org.slf4j.Logger;
 import org.slf4j.LoggerFactory;
 
@@ -159,6 +160,10 @@
          {
             log.error("Error loading " + name, e);
          }
+         catch(ResourceLoadingException e)
+         {
+        	 log.error("Error loading " + name, e);
+         }
       }
       else if (name.endsWith("beans.xml"))
       {



More information about the weld-commits mailing list