ossp-pkg/as/as-gui/as_dataop.cpp 1.26 -> 1.27
--- as_dataop.cpp 2002/12/16 17:13:17 1.26
+++ as_dataop.cpp 2002/12/17 14:08:33 1.27
@@ -56,7 +56,7 @@
}
else {
if (!Fileobj.open(IO_ReadOnly)) // Try to open file
- throw Genexcept("Could not open account file.");
+ throw Genexcept("Could not open account file for reading.");
else
Fileobj.flush(); // Begin processing file cleanly
QTextStream Account(&Fileobj); // Convert data to stream
@@ -122,7 +122,7 @@
}
else {
if (!Fileobj.open(IO_ReadOnly)) // Try to open file
- throw Genexcept("Could not open personal data file.");
+ throw Genexcept("Could not open personal data file for reading.");
else
Fileobj.flush(); // Begin processing file cleanly
QTextStream Asentry(&Fileobj); // Convert data to stream
@@ -287,7 +287,7 @@
}
else {
if (!Fileobj.open(IO_WriteOnly)) // Try to open file
- throw Genexcept("Could not write open accounting file.");
+ throw Genexcept("Could not open personal data file for writing.");
QTextStream Asentry(&Fileobj); // Convert data to stream
this->saveData(Asentry); // Pass off to do the real work
Fileobj.close(); // Finish fileop by closing
|
|