summaryrefslogtreecommitdiff
path: root/project2/fileRows.cpp
diff options
context:
space:
mode:
authorrandomdan <randomdan@localhost>2011-02-16 16:09:32 +0000
committerrandomdan <randomdan@localhost>2011-02-16 16:09:32 +0000
commit3d4eb53e5e462e4a00afaf5eaef05c0175b3ac7f (patch)
treede350f7b05dd7b6ce2e97ee44443452ccfa77b3d /project2/fileRows.cpp
parentTidied up XML loader using boost::multi_index (diff)
downloadproject2-3d4eb53e5e462e4a00afaf5eaef05c0175b3ac7f.tar.bz2
project2-3d4eb53e5e462e4a00afaf5eaef05c0175b3ac7f.tar.xz
project2-3d4eb53e5e462e4a00afaf5eaef05c0175b3ac7f.zip
Make CurlHandle throw an exception on failure
Improve error messages almost everywhere Allow setting of platform through the options system Allow specifying query params on the console Fix file stream writer's string support for strings containing multibyte chars
Diffstat (limited to 'project2/fileRows.cpp')
-rw-r--r--project2/fileRows.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/project2/fileRows.cpp b/project2/fileRows.cpp
index 950bb39..487c2ef 100644
--- a/project2/fileRows.cpp
+++ b/project2/fileRows.cpp
@@ -48,7 +48,7 @@ FileRows::doOpen() const
{
FILE * f = fopen(path(), "r");
if (!f) {
- throw FileNotReadable();
+ throw FileNotReadable(path());
}
return FileStarChannel(f, true, fclose);
}