}
}
public AttributeList getAttributes(ObjectName name, String[] attributes) throws InstanceNotFoundException, ReflectionException {
AbstractName abstractName = toAbstractName(name);
AttributeList attributeList = new AttributeList(attributes.length);
for (int i = 0; i < attributes.length; i++) {
String attribute = attributes[i];
try {
Object value = kernel.getAttribute(abstractName, attribute);
attributeList.add(i, new Attribute(attribute, value));
} catch (NoSuchAttributeException e) {
// ignored - caller will simply find no value
} catch (GBeanNotFoundException e) {
throw (InstanceNotFoundException)new InstanceNotFoundException(name.getCanonicalName()).initCause(e);
} catch (InternalKernelException e) {