SLING-3176 : ValueMap of jmx resource should contain mbean attributes
git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1532428 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/src/main/java/org/apache/sling/jmx/provider/impl/MBeanResource.java b/src/main/java/org/apache/sling/jmx/provider/impl/MBeanResource.java
index d479f45..e062612 100644
--- a/src/main/java/org/apache/sling/jmx/provider/impl/MBeanResource.java
+++ b/src/main/java/org/apache/sling/jmx/provider/impl/MBeanResource.java
@@ -24,10 +24,8 @@
import javax.management.Attribute;
import javax.management.AttributeList;
-import javax.management.AttributeNotFoundException;
import javax.management.InstanceNotFoundException;
import javax.management.MBeanAttributeInfo;
-import javax.management.MBeanException;
import javax.management.MBeanInfo;
import javax.management.MBeanServer;
import javax.management.ObjectName;
@@ -150,12 +148,8 @@
}
}
}
- } catch (final AttributeNotFoundException e) {
- // ignore
} catch (final InstanceNotFoundException e) {
// ignore
- } catch (final MBeanException e) {
- // ignore
} catch (final ReflectionException e) {
// ignore
}