Public Member Functions | |
NXmlError (void) | |
Creates a NXmlError object. | |
Static Public Member Functions | |
static NXmlException | getLastError (const NString &msg, Flag flag=NXmlException::EX_NONE) |
Gets the last error reported by the underlying library. |
Definition at line 42 of file nxmlerror.h.
NXmlException getLastError | ( | const NString & | msg, | |
Flag | flag = NXmlException::EX_NONE | |||
) | [static] |
Gets the last error reported by the underlying library.
msg | A message set by the api. | |
flag | An unique id that identifies the error that occurred |
Definition at line 27 of file nxmlerror.cpp.
References NSTR(), NString::number(), NException::setDescription(), NException::setFlag(), NException::setModule(), and NException::XML.
Referenced by NXmlNode::addChild(), NXmlNode::addNextSibling(), NXmlNode::addPreviousSibling(), NXmlNode::addProperty(), NXmlParser::NXmlParser(), NXmlSchemaParser::parse(), and NXmlParser::parse().