Classs representing a generic XML error condition. More...


Protected Member Functions | |
| XML_Error (int line=0) | |
| Constructor. | |
| virtual | ~XML_Error () throw () |
| destructor | |
Protected Attributes | |
| int | m_line |
| Line number of the file. | |
| std::string | m_msg |
| String message for the error. | |
Classs representing a generic XML error condition.
Definition at line 43 of file xml.cpp.
| XML_Error | ( | int | line = 0 |
) | [inline, protected] |
Constructor.
Note, we don't actually post the error in this class. Therefore, this class can't be used externally. Therefore, it's a protected constructor.
| line | Number number where the error occurred. |
Definition at line 53 of file xml.cpp.
References Cantera::int2str(), and XML_Error::m_msg.
| virtual ~XML_Error | ( | ) | throw () [inline, protected, virtual] |
std::string m_msg [protected] |
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