r3466 - trunk/libmutil/source
mikma at minisip.org
mikma at minisip.org
Fri Nov 16 20:14:41 CET 2007
Author: mikma
Date: 2007-11-16 20:14:41 +0100 (Fri, 16 Nov 2007)
New Revision: 3466
Modified:
trunk/libmutil/source/XMLParser.cxx
Log:
Make error message clearer
Modified: trunk/libmutil/source/XMLParser.cxx
===================================================================
--- trunk/libmutil/source/XMLParser.cxx 2007-11-15 15:44:03 UTC (rev 3465)
+++ trunk/libmutil/source/XMLParser.cxx 2007-11-16 19:14:41 UTC (rev 3466)
@@ -207,7 +207,7 @@
if (filename != ""){
ifstream file(filename.c_str());
if (!file){
- throw XMLFileNotFound( "Could not open file " + filename );
+ throw XMLFileNotFound( "Could not read file " + filename );
}
@@ -348,7 +348,7 @@
ofstream file(fname.c_str());
if (!file){
- throw XMLFileNotFound( "Could not open file " + fname );
+ throw XMLFileNotFound( "Could not write file " + fname );
}
file << xmlstring();
More information about the Minisip-devel
mailing list