summaryrefslogtreecommitdiff
path: root/src/lib/exceptions.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2016-08-18 17:02:33 +0100
committerCarl Hetherington <cth@carlh.net>2016-08-18 17:02:33 +0100
commit513947df0f421c086ac56dff48dfe540b0a380c2 (patch)
tree5fd393d3833a512dffacbeb2bb11eafe4003440e /src/lib/exceptions.h
parent6c16feca6c9b51b4833051eff4b5f6a9e9454a73 (diff)
Better errors on open fails; remove unused exception.
Diffstat (limited to 'src/lib/exceptions.h')
-rw-r--r--src/lib/exceptions.h13
1 files changed, 1 insertions, 12 deletions
diff --git a/src/lib/exceptions.h b/src/lib/exceptions.h
index 31c3f5389..1a32b5402 100644
--- a/src/lib/exceptions.h
+++ b/src/lib/exceptions.h
@@ -96,20 +96,9 @@ class OpenFileError : public FileError
{
public:
/** @param f File that we were trying to open */
- OpenFileError (boost::filesystem::path f);
+ OpenFileError (boost::filesystem::path f, int error);
};
-/** @class CreateFileError.
- * @brief Indicates that some error occurred when trying to create a file.
- */
-class CreateFileError : public FileError
-{
-public:
- /** @param f File that we were trying to create */
- CreateFileError (boost::filesystem::path f);
-};
-
-
/** @class ReadFileError.
* @brief Indicates that some error occurred when trying to read from a file
*/