modules/enterprise/server/jar/src/main/java/org/rhq/enterprise/server/plugin/pc/bundle/BundleServerPluginManager.java
| 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 7d8a48b04837b1dd13ec13c58102f9420b3df9f1
Author: John Mazzitelli <mazz(a)redhat.com>
Date: Thu Apr 29 13:39:13 2010 -0400
don't assume all plugins will only throw illegal-arg-exception on bad
recipe/distro file. catch all exceptions and assume we need to keep going asking other
plugins
diff --git
a/modules/enterprise/server/jar/src/main/java/org/rhq/enterprise/server/plugin/pc/bundle/BundleServerPluginManager.java
b/modules/enterprise/server/jar/src/main/java/org/rhq/enterprise/server/plugin/pc/bundle/BundleServerPluginManager.java
index 9ca73ae..0122720 100644
---
a/modules/enterprise/server/jar/src/main/java/org/rhq/enterprise/server/plugin/pc/bundle/BundleServerPluginManager.java
+++
b/modules/enterprise/server/jar/src/main/java/org/rhq/enterprise/server/plugin/pc/bundle/BundleServerPluginManager.java
@@ -155,7 +155,7 @@ public class BundleServerPluginManager extends ServerPluginManager {
info = facet.processBundleDistributionFile(distributionFile);
info.setBundleTypeName(descriptor.getBundle().getType());
break;
- } catch (IllegalArgumentException e) {
+ } catch (Exception e) {
info = null;
}
} finally {
Show replies by date