Class representing a generic XML error condition.
More...
|
template<typename... Args> |
| CanteraError (const std::string &procedure, const std::string &msg, const Args &... args) |
| Normal Constructor for the CanteraError base class. More...
|
|
virtual | ~CanteraError () throw () |
| Destructor for base class does nothing. More...
|
|
const char * | what () const throw () |
| Get a description of the error. More...
|
|
virtual std::string | getClass () const |
| Method overridden by derived classes to indicate their type. More...
|
|
Class representing a generic XML error condition.
Definition at line 26 of file xml.cpp.
◆ XML_Error()
XML_Error |
( |
const std::string & |
file, |
|
|
int |
line |
|
) |
| |
|
inlineprotected |
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
-
file | Name of the XML file being processed |
line | Number number where the error occurred. |
Definition at line 37 of file xml.cpp.
◆ ~XML_Error()
destructor
Definition at line 46 of file xml.cpp.
◆ getMessage()
virtual std::string getMessage |
( |
| ) |
const |
|
inlineprotectedvirtual |
Method overridden by derived classes to format the error message.
Reimplemented from CanteraError.
Definition at line 41 of file xml.cpp.
◆ m_msg
String message for the error.
Definition at line 50 of file xml.cpp.
The documentation for this class was generated from the following file: