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 committed 2016-03-23 00:26:35 +02:00
1 parent a8edb37733
commit 3a06fe6048
7 files changed
+24 -24

No files matched your search

+2 -2
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