geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From genspr...@apache.org
Subject svn commit: r1032894 - /geronimo/server/trunk/plugins/openwebbeans/geronimo-openwebbeans/src/main/java/org/apache/geronimo/openwebbeans/OsgiMetaDataScannerService.java
Date Tue, 09 Nov 2010 09:04:08 GMT
Author: genspring
Date: Tue Nov  9 09:04:08 2010
New Revision: 1032894

URL: http://svn.apache.org/viewvc?rev=1032894&view=rev
Log:
I don't know why we can't catch the CNF exception with catch(Exception e).

Modified:
    geronimo/server/trunk/plugins/openwebbeans/geronimo-openwebbeans/src/main/java/org/apache/geronimo/openwebbeans/OsgiMetaDataScannerService.java

Modified: geronimo/server/trunk/plugins/openwebbeans/geronimo-openwebbeans/src/main/java/org/apache/geronimo/openwebbeans/OsgiMetaDataScannerService.java
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/plugins/openwebbeans/geronimo-openwebbeans/src/main/java/org/apache/geronimo/openwebbeans/OsgiMetaDataScannerService.java?rev=1032894&r1=1032893&r2=1032894&view=diff
==============================================================================
--- geronimo/server/trunk/plugins/openwebbeans/geronimo-openwebbeans/src/main/java/org/apache/geronimo/openwebbeans/OsgiMetaDataScannerService.java
(original)
+++ geronimo/server/trunk/plugins/openwebbeans/geronimo-openwebbeans/src/main/java/org/apache/geronimo/openwebbeans/OsgiMetaDataScannerService.java
Tue Nov  9 09:04:08 2010
@@ -148,7 +148,7 @@ public class OsgiMetaDataScannerService 
                 Class<?> cls = mainBundle.loadClass(clsName);
                 beanClasses.add(cls);
             }
-            catch(Exception e)
+            catch(Throwable e)
             {
                 logger.info("cannot load class from bundle: " + clsName);
             }



Mime
View raw message