1
0
mirror of https://github.com/VCMP-SqMod/SqMod.git synced 2025-06-30 22:17:13 +02:00

Updated the XML module to include the location for C++ exceptions in source code for debug builds.

This commit is contained in:
Sandu Liviu Catalin
2016-03-23 00:26:35 +02:00
parent a8edb37733
commit 3a06fe6048
7 changed files with 24 additions and 24 deletions

View File

@ -82,14 +82,14 @@ void ParseResult::Validate() const
{
// Is the documen handle valid?
if (!m_Doc)
SqThrowF("Invalid XML document reference");
STHROWF("Invalid XML document reference");
}
// ------------------------------------------------------------------------------------------------
void ParseResult::Check() const
{
if (m_Result.status != status_ok)
SqThrowF("XML parse error [%s]", m_Result.description());
STHROWF("XML parse error [%s]", m_Result.description());
}
} // Namespace:: SqMod