XmlContainer::verify |
#include <DbXml.hpp>void XmlContainer::verify(std::ostream *out, u_int32_t flags);
The XmlContainer::verify method checks that the container data files are not corrupt, and optionally writes the salvaged container data to the specified output stream.
The container must be closed; the system throws an exception if the container is open.
The container must have been opened at least once; the system throws an exception if the underlying files have not yet been created.
The XmlContainer::verify method may fail and throw XmlException, encapsulating one of the following non-zero errors:
Copyright (c) 1996-2003 Sleepycat Software, Inc. - All rights reserved.