summaryrefslogtreecommitdiff
path: root/src/exceptions.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2014-02-05 11:01:05 +0000
committerCarl Hetherington <cth@carlh.net>2014-02-05 11:01:05 +0000
commit78c94420750c505e59d584c34b33acc953946c2a (patch)
treec58e818e8948d24d0f49dde46fe7bef3feea90ca /src/exceptions.h
parent15137597824b263c875bd427f7d121eae28d45a6 (diff)
Small bits of tidying up and comments.
Diffstat (limited to 'src/exceptions.h')
-rw-r--r--src/exceptions.h23
1 files changed, 18 insertions, 5 deletions
diff --git a/src/exceptions.h b/src/exceptions.h
index c1d47e51..bc5e83d1 100644
--- a/src/exceptions.h
+++ b/src/exceptions.h
@@ -29,7 +29,9 @@
namespace dcp
{
-/** @brief An exception related to a file */
+/** @class FileError
+ * @brief An exception related to a file
+ */
class FileError : public std::exception
{
public:
@@ -59,7 +61,9 @@ private:
int _number;
};
-/** @brief An exception related to an MXF file */
+/** @class MXFFileError
+ * @brief An exception related to an MXF file
+ */
class MXFFileError : public FileError
{
public:
@@ -68,7 +72,9 @@ public:
{}
};
-/** @brief A miscellaneous exception */
+/** @class MiscError
+ * @brief A miscellaneous exception
+ */
class MiscError : public std::exception
{
public:
@@ -85,7 +91,9 @@ private:
std::string _message;
};
-/** @brief A DCP read exception */
+/** @class DCPReadError
+ * @brief A DCP read exception
+ */
class DCPReadError : public std::exception
{
public:
@@ -102,7 +110,9 @@ private:
std::string _message;
};
-/** @brief An XML error */
+/** @class XMLError
+ * @brief An XML error
+ */
class XMLError : public std::exception
{
public:
@@ -119,6 +129,9 @@ private:
std::string _message;
};
+/** @class UnresolvedRefError
+ * @brief An exception caused by a reference (by UUID) to something which is not known
+ */
class UnresolvedRefError : public std::exception
{
public: