commit | eadd5e990f4fa059262e840084aff298a0f6f065 | [log] [tgz] |
---|---|---|
author | Carsten Ziegeler <cziegeler@apache.org> | Thu Oct 14 10:04:02 2010 +0000 |
committer | Carsten Ziegeler <cziegeler@apache.org> | Thu Oct 14 10:04:02 2010 +0000 |
tree | f5223af241053364a8918e410584cb9dea15522d | |
parent | 0b56f8521648d0768450c9c631a3f47e7966b464 [diff] |
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; }