You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xerces.apache.org by pe...@apache.org on 2004/04/01 23:57:43 UTC
cvs commit: xml-xerces/c/src/xercesc/parsers DOMBuilderImpl.cpp
peiyongz 2004/04/01 13:57:43
Modified: c/src/xercesc/parsers DOMBuilderImpl.cpp
Log:
provide MemoryManager to DOMException
Revision Changes Path
1.35 +9 -9 xml-xerces/c/src/xercesc/parsers/DOMBuilderImpl.cpp
Index: DOMBuilderImpl.cpp
===================================================================
RCS file: /home/cvs/xml-xerces/c/src/xercesc/parsers/DOMBuilderImpl.cpp,v
retrieving revision 1.34
retrieving revision 1.35
diff -u -r1.34 -r1.35
--- DOMBuilderImpl.cpp 29 Jan 2004 11:46:32 -0000 1.34
+++ DOMBuilderImpl.cpp 1 Apr 2004 21:57:43 -0000 1.35
@@ -156,7 +156,7 @@
void DOMBuilderImpl::setFilter(DOMBuilderFilter* const)
{
- throw DOMException(DOMException::NOT_SUPPORTED_ERR, 0);
+ throw DOMException(DOMException::NOT_SUPPORTED_ERR, 0, getMemoryManager());
}
@@ -211,12 +211,12 @@
XMLString::compareIString(name, XMLUni::fgDOMInfoset) == 0 ||
XMLString::compareIString(name, XMLUni::fgDOMCanonicalForm) == 0 ) {
if (state)
- throw DOMException(DOMException::NOT_SUPPORTED_ERR, 0);
+ throw DOMException(DOMException::NOT_SUPPORTED_ERR, 0, getMemoryManager());
}
else if (XMLString::compareIString(name, XMLUni::fgDOMNamespaceDeclarations) == 0 ||
XMLString::compareIString(name, XMLUni::fgDOMCDATASections) == 0 ) {
if (!state)
- throw DOMException(DOMException::NOT_SUPPORTED_ERR, 0);
+ throw DOMException(DOMException::NOT_SUPPORTED_ERR, 0, getMemoryManager());
}
else if (XMLString::compareIString(name, XMLUni::fgXercesSchema) == 0)
{
@@ -268,7 +268,7 @@
getScanner()->setStandardUriConformant(state);
}
else {
- throw DOMException(DOMException::NOT_FOUND_ERR, 0);
+ throw DOMException(DOMException::NOT_FOUND_ERR, 0, getMemoryManager());
}
}
@@ -350,7 +350,7 @@
return fUserAdoptsDocument;
}
else {
- throw DOMException(DOMException::NOT_FOUND_ERR, 0);
+ throw DOMException(DOMException::NOT_FOUND_ERR, 0, getMemoryManager());
}
return false;
@@ -424,7 +424,7 @@
}
else
- throw DOMException(DOMException::NOT_FOUND_ERR, 0);
+ throw DOMException(DOMException::NOT_FOUND_ERR, 0, getMemoryManager());
}
@@ -437,7 +437,7 @@
else if (XMLString::compareIString(name, XMLUni::fgXercesSecurityManager) == 0)
return (void*)getSecurityManager();
else
- throw DOMException(DOMException::NOT_FOUND_ERR, 0);
+ throw DOMException(DOMException::NOT_FOUND_ERR, 0, getMemoryManager());
return 0;
}
@@ -489,7 +489,7 @@
DOMNode* const,
const short)
{
- throw DOMException(DOMException::NOT_SUPPORTED_ERR, 0);
+ throw DOMException(DOMException::NOT_SUPPORTED_ERR, 0, getMemoryManager());
}
---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-cvs-help@xml.apache.org