From 072688479965dc807861a187191ff23f3909799c Mon Sep 17 00:00:00 2001 From: Harry Moffat Date: Tue, 6 Jan 2009 22:57:40 +0000 Subject: [PATCH] Fixed an error in an error statement --- Cantera/src/thermo/VPSSMgr_Water_HKFT.cpp | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/Cantera/src/thermo/VPSSMgr_Water_HKFT.cpp b/Cantera/src/thermo/VPSSMgr_Water_HKFT.cpp index 8078f40c1..7e2211a35 100644 --- a/Cantera/src/thermo/VPSSMgr_Water_HKFT.cpp +++ b/Cantera/src/thermo/VPSSMgr_Water_HKFT.cpp @@ -224,17 +224,18 @@ namespace Cantera { const XML_Node* s = speciesDB->findByAttr("name", sss[k]); if (!s) { throw CanteraError("VPSSMgr_Water_HKFT::initThermoXML", - "no species Node for species " + sss[k]); + "No species Node for species " + sss[k]); } const XML_Node *ss = s->findByName("standardState"); if (!ss) { throw CanteraError("VPSSMgr_Water_HKFT::initThermoXML", - "no standardState Node for species " + s->name()); + "No standardState Node for species " + sss[k]); } std::string model = lowercase((*ss)["model"]); if (model != "hkft") { throw CanteraError("VPSSMgr_Water_HKFT::initThermoXML", - "standardState model for species isn't hkft: " + s->name()); + "Standard state model for a solute species isn't " + "the HKFT standard state model: " + sss[k]); } } } @@ -247,7 +248,7 @@ namespace Cantera { const XML_Node *ss = speciesNode.findByName("standardState"); if (!ss) { throw CanteraError("VPSSMgr_Water_HKFT::installSpecies", - "no standardState Node for species " + speciesNode.name()); + "No standardState Node for species " + speciesNode.name()); } // Will have to do something for water // -> make sure it's species 0