FELIX-2659 : ConfigurationRender.searchMethod must catch problems more broadly

git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@1022448 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/webconsole/src/main/java/org/apache/felix/webconsole/internal/misc/ConfigurationRender.java b/webconsole/src/main/java/org/apache/felix/webconsole/internal/misc/ConfigurationRender.java
index 1c9643f..8fba8a6 100644
--- a/webconsole/src/main/java/org/apache/felix/webconsole/internal/misc/ConfigurationRender.java
+++ b/webconsole/src/main/java/org/apache/felix/webconsole/internal/misc/ConfigurationRender.java
@@ -288,9 +288,10 @@
         {
             return obj.getClass().getDeclaredMethod(mName, params);
         }
-        catch (NoSuchMethodException nsme)
+        catch (Throwable nsme)
         {
-            // ignore
+            // ignore, we catch Throwable above to not only catch NoSuchMethodException
+            // but also other ones like ClassDefNotFoundError etc.
         }
         return null;
     }