Even better open-file error reports.
[dcpomatic.git] / src / lib / exceptions.h
index 1a32b5402194ba7357dfa385764c2b4b10d71b48..75f4a8cd1bc01fbafa03851c664f268e8a433ccf 100644 (file)
@@ -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.