XmlEventWriter::writeEndDocument

#include <DbXml.hpp>

virtual void XmlEventWriter::writeEndDocument()

Write an EndDocument event to the XmlEventWriter . This indicates that the document is complete. The only valid call after this is made is XmlEventWriter::close.

Errors

The XmlEventWriter::writeEndDocument method may fail and throw XmlException , encapsulating one of the following non-zero errors:

EVENT_ERROR

An error occurred during processing of an XmlEventWriter object. Most likely the error is attempting to write a type or value that is not valid in the current state of the object.

Class

XmlEventWriter

See Also

XmlEventWriter Methods