XmlManager::verifyContainer |
![]() ![]() |
#include <DbXml.hpp>void XmlManager::verifyContainer(const std::string &name, std::ostream *out, u_int32_t flags);
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.
ParametersThe XmlManager::verifyContainer method may fail and throw XmlException, encapsulating one of the following non-zero errors:
![]() ![]() |
Copyright (c) 1996-2009 Oracle. All rights reserved.