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


Public Member Functions | |
| XML_IllegalUnits (std::string name, std::string units, int line=0) | |
| Constructor. | |
| virtual | ~XML_IllegalUnits () 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_Node's units attribute has the wrong type of units.
Definition at line 142 of file xml.cpp.
| XML_IllegalUnits | ( | std::string | name, | |
| std::string | units, | |||
| int | line = 0 | |||
| ) | [inline] |
Constructor.
Wrong units string.
| name | Name of the current XML node | |
| units | Units string in the "units" attribute | |
| line | Line number where the error occurred. |
Definition at line 153 of file xml.cpp.
References XML_Error::m_msg, and Cantera::setError().
| virtual ~XML_IllegalUnits | ( | ) | 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().
1.6.3