Cantera
2.0
|
Exception thrown if species reference pressures don't match. More...
#include <SpeciesThermoMgr.h>
Public Member Functions | |
RefPressureMismatch (std::string proc, doublereal prnew, doublereal prold) | |
constructor | |
virtual | ~RefPressureMismatch () throw () |
destructor | |
const char * | what () const throw () |
Get a description of the error. | |
void | save () |
Function to put this error onto Cantera's error stack. | |
virtual std::string | getMessage () const |
Method overridden by derived classes to formatted the error message. | |
virtual std::string | getClass () const |
Method overridden by derived classes to indicate their type. | |
Protected Attributes | |
std::string | procedure_ |
The name of the procedure where the exception occurred. | |
Exception thrown if species reference pressures don't match.
Definition at line 109 of file SpeciesThermoMgr.h.
|
inline |
constructor
proc | name of the procecdure |
prnew | reference pressure |
prold | old reference pressure |
Definition at line 118 of file SpeciesThermoMgr.h.
|
inlinevirtual |
destructor
Definition at line 124 of file SpeciesThermoMgr.h.
|
inherited |
Get a description of the error.
Definition at line 41 of file ctexceptions.cpp.
References CanteraError::formattedMessage_, CanteraError::getClass(), CanteraError::getMessage(), and CanteraError::procedure_.
Referenced by TransportFactory::getLiquidInteractionsTransportData().
|
inherited |
Function to put this error onto Cantera's error stack.
Definition at line 33 of file ctexceptions.cpp.
References Application::addError(), CanteraError::getMessage(), Application::Instance(), CanteraError::procedure_, and CanteraError::saved_.
Referenced by CanteraError::CanteraError(), Cantera::equilibrate(), ChemEquil::equilibrate(), MultiPhase::equilibrate(), ChemEquil::estimateEP_Brinkley(), TransportFactory::getLiquidSpeciesTransportData(), TransportFactory::getTransportData(), PseudoBinaryVPSSTP::report(), MolarityIonicVPSSTP::report(), PureFluidPhase::report(), MolalityVPSSTP::report(), ThermoPhase::report(), PureFluidPhase::reportCSV(), MolalityVPSSTP::reportCSV(), ThermoPhase::reportCSV(), ChemEquil::setInitialMoles(), ThermoPhase::setState_TPX(), ThermoPhase::setState_TPY(), MultiTransport::solveLMatrixEquation(), Cantera::vcs_equilibrate(), and Cantera::vcs_equilibrate_1().
|
virtualinherited |
Method overridden by derived classes to formatted the error message.
Reimplemented in IndexError, and ArraySizeError.
Definition at line 56 of file ctexceptions.cpp.
References CanteraError::msg_.
Referenced by CanteraError::save(), and CanteraError::what().
|
inlinevirtualinherited |
Method overridden by derived classes to indicate their type.
Reimplemented in IndexError, and ArraySizeError.
Definition at line 97 of file ctexceptions.h.
Referenced by CanteraError::what().
|
protectedinherited |
The name of the procedure where the exception occurred.
Definition at line 107 of file ctexceptions.h.
Referenced by CanteraError::save(), and CanteraError::what().