NXmlError Class Reference

NXmlError class is used to abstract a xml error. More...

List of all members.

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.


Detailed Description

NXmlError class is used to abstract a xml error.

Note:
This class is used only internally on the api an MUST NOT be used for applications

Definition at line 42 of file nxmlerror.h.


Member Function Documentation

NXmlException getLastError ( const NString msg,
Flag  flag = NXmlException::EX_NONE 
) [static]

Gets the last error reported by the underlying library.

Parameters:
msg A message set by the api.
flag An unique id that identifies the error that occurred
Returns:
A NXmlException object with the message and the details given by the api

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().


The documentation for this class was generated from the following files:
Generated on Wed Mar 5 23:10:37 2008 for NemesisUtilitiesSystem by  doxygen 1.5.4