I think maybe this method should throw an IOException. It seems like a logical thing to do during serialization. In any event, how would the caller ever handle the RTE?