Classs representing a generic XML error condition.
More...
|
| CanteraError (const std::string &procedure, const std::string &msg) |
| 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...
|
|
void | save () |
| Function to put this error onto Cantera's error stack. More...
|
|
virtual std::string | getMessage () const |
| Method overridden by derived classes to formatted the error message. More...
|
|
virtual std::string | getClass () const |
| Method overridden by derived classes to indicate their type. More...
|
|
Classs representing a generic XML error condition.
Definition at line 24 of file xml.cpp.
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 35 of file xml.cpp.
References Cantera::int2str().
destructor
Definition at line 45 of file xml.cpp.
Line number of the file.
Definition at line 50 of file xml.cpp.
String message for the error.
Definition at line 53 of file xml.cpp.
The documentation for this class was generated from the following file: