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

Exception class to indicate a fixed set of elements. More...

#include <Phase.h>

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

Public Member Functions

 ElementsFrozen (string func)
 Constructor for class. More...
 
 ElementsFrozen (const std::string &func)
 Constructor for class. 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

Exception class to indicate a fixed set of elements.

This class is used to warn the user when the number of elements are changed after at least one species is defined.

Definition at line 197 of file Elements.cpp.

Constructor & Destructor Documentation

ElementsFrozen ( string  func)
inline

Constructor for class.

Parameters
funcFunction where the error occurred.

Definition at line 204 of file Elements.cpp.

ElementsFrozen ( const std::string &  func)
inline

Constructor for class.

Parameters
funcFunction where the error occurred.

Definition at line 40 of file Phase.h.


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