throw XMLMarshalException.marshalException(e);
}
return;
} else if(objectClass.isArray()) {
try {
writerRecord.startCollection();
int arrayLength = Array.getLength(object);
for(int x=0; x<arrayLength; x++) {
marshal(Array.get(object, x), writerRecord);
}
writerRecord.endCollection();