final ClassInfo arrayClassInfo, final int arrayLength)
throws StoreException {
try {
arrayStartTag.addAttribute("id", objectId);
arrayStartTag.addAttribute("size", Integer.toString(arrayLength));
final ClassInfo componentType = arrayClassInfo.getComponentType();
arrayStartTag.addAttribute("componentClass",
componentType.getName());
xmlWriter.writeStartTag(indentation, arrayStartTag,
false/* endTag */, true/* writeNewLine */);
} catch (XmlWriterException exception) {
closeWriterAfterError();
throw new StoreException(exception);