summaryrefslogtreecommitdiff
path: root/project2/fileRows.cpp
diff options
context:
space:
mode:
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);
}