Object value;
try {
value = ((Field) ((Entry) iter.next()).getValue()).get(object);
}
catch (Exception e) {
throw new HproseException(e.getMessage());
}
serialize(value);
}
}
else {
for (Iterator iter = members.entrySet().iterator(); iter.hasNext();) {
Object value;
try {
value = ((PropertyAccessor) ((Entry) iter.next()).getValue()).getter.invoke(object, nullArgs);
}
catch (Exception e) {
throw new HproseException(e.getMessage());
}
serialize(value);
}
}
stream.write(HproseTags.TagClosebrace);