XmlReader::DomParseException Class Reference

An exception class representing an error or warning while parsing the DOM. More...

#include <xmlreader.h>

Inheritance diagram for XmlReader::DomParseException:

Inheritance graph

List of all members.

Public Member Functions

 DomParseException (std::string msg, XERCES_CPP_NAMESPACE_QUALIFIER DOMNode *pNode)
virtual ~DomParseException ()
XERCES_CPP_NAMESPACE_QUALIFIER
DOMNode * 
where ()
virtual std::string str ()


Detailed Description

An exception class representing an error or warning while parsing the DOM.

Definition at line 426 of file xmlreader.h.


Constructor & Destructor Documentation

XmlReader::DomParseException::DomParseException ( std::string  msg,
XERCES_CPP_NAMESPACE_QUALIFIER DOMNode *  pNode 
)

Create a new DomParseException.

Parameters:
msg The message associated with this exception.
pNode The DOM node that caused the exception.

Definition at line 438 of file xmlreader.h.

virtual XmlReader::DomParseException::~DomParseException (  )  [virtual]

Destroy and cleanup this exception.

Definition at line 445 of file xmlreader.h.


Member Function Documentation

XERCES_CPP_NAMESPACE_QUALIFIER DOMNode* XmlReader::DomParseException::where (  ) 

Find out what DOM node caused the exception.

Returns:
The DOMNode that caused the exception.

Definition at line 452 of file xmlreader.h.

virtual std::string XmlReader::DomParseException::str (  )  [virtual]

Get the message associated with this exception.

This will append information about which DOM node caused the exception.

Returns:
The message associated with this exception.

Definition at line 466 of file xmlreader.h.


Software Development Kit - Opticks 4.9.0 Build 16218