XML_TagMismatch Class Reference

Class representing a specific type of XML file formatting error. More...

Inheritance diagram for XML_TagMismatch:
Inheritance graph
[legend]
Collaboration diagram for XML_TagMismatch:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 XML_TagMismatch (std::string opentag, std::string closetag, int line=0)
 Constructor.
virtual ~XML_TagMismatch () throw ()
 Destructor.

Protected Attributes

int m_line
 Line number of the file.
std::string m_msg
 String message for the error.

Detailed Description

Class representing a specific type of XML file formatting error.

An XML tag is not matched

Definition at line 79 of file xml.cpp.


Constructor & Destructor Documentation

XML_TagMismatch ( std::string  opentag,
std::string  closetag,
int  line = 0 
) [inline]

Constructor.

An XML element must have the same opening and closing name.

Parameters:
opentag String representing the opening of the XML bracket
closetag String representing the closing of the XML bracket
line Line number where the error occurred.

Definition at line 90 of file xml.cpp.

References XML_Error::m_msg, and Cantera::setError().

virtual ~XML_TagMismatch (  )  throw () [inline, virtual]

Destructor.

Definition at line 99 of file xml.cpp.


Member Data Documentation

int m_line [protected, inherited]

Line number of the file.

Definition at line 69 of file xml.cpp.

std::string m_msg [protected, inherited]

String message for the error.

Definition at line 72 of file xml.cpp.

Referenced by XML_Error::XML_Error(), XML_IllegalUnits::XML_IllegalUnits(), XML_NoChild::XML_NoChild(), and XML_TagMismatch::XML_TagMismatch().


The documentation for this class was generated from the following file:
Generated by  doxygen 1.6.3