Cantera  2.1.2
Public Member Functions | List of all members
UnknownThermoPhaseModel Class Reference

Specific error to be thrown if the type of Thermo manager is unrecognized. More...

#include <ThermoFactory.h>

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

Public Member Functions

 UnknownThermoPhaseModel (const std::string &proc, const std::string &thermoModel)
 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 formatted 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...
 

Detailed Description

Specific error to be thrown if the type of Thermo manager is unrecognized.

This particular error class may be caught, if the application may have other models that the main Cantera application doesn't know about.

Definition at line 37 of file ThermoFactory.h.

Constructor & Destructor Documentation

UnknownThermoPhaseModel ( const std::string &  proc,
const std::string &  thermoModel 
)
inline

Constructor.

Parameters
procFunction name where the error occurred.
thermoModelSting name of ThermoPhase which didn't match

Definition at line 45 of file ThermoFactory.h.


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