/* */ {
/* 72 */ FileOutputStream fos = new FileOutputStream(fileURL);
/* 73 */ autoClose[0] = fos;
/* 74 */ this.writer = createWriter(fos);
/* */ } catch (IOException e) {
/* 76 */ throw new TxwException(e);
/* */ }
/* */ } else {
/* 79 */ throw new IllegalArgumentException();
/* */ }
/* */
/* 82 */ this.serializer = new SaxSerializer(this.writer, this.writer, false, autoClose) {
/* */ public void endDocument() {
/* 84 */ super.endDocument();
/* 85 */ if (this.val$autoClose[0] != null) {
/* */ try {
/* 87 */ this.val$autoClose[0].close();
/* */ } catch (IOException e) {
/* 89 */ throw new TxwException(e);
/* */ }
/* 91 */ this.val$autoClose[0] = null;
/* */ }
/* */ } } ;
/* */ }