write output project given stream param project project output param stream stream write save except goe wrong interrupt except thread interrupt write project project project output stream stream progress mgr progress mgr save except interrupt except output stream writer output stream writer output stream writer output stream writer stream argo encod unsupport encod except save except print writer writer print writer buffer writer output stream writer xml filter output stream filter stream xml filter output stream stream argo encod writer println xml version encod argo encod writer println uml version persist version write header section hashtabl templat templat reader instanc read argo tee ocl expand expand ocl expand templat expand expand writer project expans except save except writer flush progress mgr progress mgr phase note assum member order correctli project member project member project member defin log lp log granular type statement lp log local nest statement log info enabl log info save member project member endif member file persist persist member file persist project member filter stream start entri persist save project member filter stream filter stream flush io except save except writer println uml writer flush writer close filter stream realli close io except save except 