Cantera  2.2.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | List of all members
UnknownSpeciesThermoModel Class Reference

Throw a named error for an unknown or missing species thermo model. More...

#include <SpeciesThermoFactory.h>

Inheritance diagram for UnknownSpeciesThermoModel:
[legend]
Collaboration diagram for UnknownSpeciesThermoModel:
[legend]

Public Member Functions

 UnknownSpeciesThermoModel (const std::string &proc, const std::string &spName, const std::string &speciesThermoModel)
 constructor More...
 
- Public Member Functions inherited from CanteraError
 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 format the error message. More...
 
virtual std::string getClass () const
 Method overridden by derived classes to indicate their type. More...
 

Additional Inherited Members

- Protected Member Functions inherited from CanteraError
 CanteraError ()
 Protected default constructor discourages throwing errors containing no information. More...
 
 CanteraError (const std::string &procedure)
 Constructor used by derived classes that override getMessage() More...
 
- Protected Attributes inherited from CanteraError
std::string procedure_
 The name of the procedure where the exception occurred. More...
 
std::string formattedMessage_
 Formatted message returned by what() More...
 

Detailed Description

Throw a named error for an unknown or missing species thermo model.

Definition at line 31 of file SpeciesThermoFactory.h.

Constructor & Destructor Documentation

UnknownSpeciesThermoModel ( const std::string &  proc,
const std::string &  spName,
const std::string &  speciesThermoModel 
)
inline

constructor

Parameters
procFunction name error occurred.
spNameSpecies Name that caused the error
speciesThermoModelUnrecognized species thermo model name

Definition at line 40 of file SpeciesThermoFactory.h.


The documentation for this class was generated from the following file: