XML_Error Class Reference

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

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

List of all members.

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.

Detailed Description

Classs representing a generic XML error condition.

Definition at line 43 of file xml.cpp.


Constructor & Destructor Documentation

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.

Parameters:
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]

destructor

Definition at line 64 of file xml.cpp.


Member Data Documentation

int m_line [protected]

Line number of the file.

Definition at line 69 of file xml.cpp.

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().


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