Class representing a specific type of XML file formatting error. More...
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. |
Class representing a specific type of XML file formatting error.
An XML tag is not matched
Definition at line 79 of file xml.cpp.
XML_TagMismatch | ( | std::string | opentag, | |
std::string | closetag, | |||
int | line = 0 | |||
) | [inline] |
Constructor.
An XML element must have the same opening and closing name.
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] |
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().