doc.appendChild(root);
XmlSerializeTool.writeEncryptedDocument(password, doc, file);
} catch (DOMException ex) {
String msg = "Failed to generate XML document, this is a bug.";
throw new SysXmlBaseException(msg, ex);
}
logger.debug("exiting saveEncryptedFile");
}