Merge master into direct-mxf.
[dcpomatic.git] / src / lib / exceptions.h
index 6b567805b1fcd46ac7d1c78c13423624ef1f5b3d..bf8e85f0bdfb7d939f76b90ad41c4571361bd874 100644 (file)
@@ -77,6 +77,9 @@ public:
 class FileError : public StringError
 {
 public:
+       /** @param m Error message.
+        *  @param f Name of the file that this exception concerns.
+        */
        FileError (std::string m, std::string f)
                : StringError (m)
                , _file (f)
@@ -84,11 +87,13 @@ public:
 
        virtual ~FileError () throw () {}
 
+       /** @return name of the file that this exception concerns */
        std::string file () const {
                return _file;
        }
 
 private:
+       /** name of the file that this exception concerns */
        std::string _file;
 };
        
@@ -219,19 +224,3 @@ public:
                : StringError (s)
        {}
 };
-
-class PlayError : public StringError
-{
-public:
-       PlayError (std::string s)
-               : StringError (s)
-       {}
-};
-
-class DVDError : public StringError
-{
-public:
-       DVDError (std::string s)
-               : StringError (s)
-       {}
-};