diff options
Diffstat (limited to 'src/lib/exceptions.h')
| -rw-r--r-- | src/lib/exceptions.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/lib/exceptions.h b/src/lib/exceptions.h index 1a32b5402..75f4a8cd1 100644 --- a/src/lib/exceptions.h +++ b/src/lib/exceptions.h @@ -95,8 +95,11 @@ public: class OpenFileError : public FileError { public: - /** @param f File that we were trying to open */ - OpenFileError (boost::filesystem::path f, int error); + /** @param f File that we were trying to open. + * @param error Code of error that occurred. + * @param reading true if we were opening to read, false if opening to write. + */ + OpenFileError (boost::filesystem::path f, int error, bool reading); }; /** @class ReadFileError. |
