summaryrefslogtreecommitdiff
path: root/src/exceptions.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2019-12-06 10:47:04 +0100
committerCarl Hetherington <cth@carlh.net>2019-12-22 01:21:00 +0100
commit30dfa051113792305f9704d5a76ffaf57c21063d (patch)
tree4a4055b40bfb64ebf5b7509ef81a104db4a52e46 /src/exceptions.h
parent9cb23adda9ebe6a76992b68db78ccb638348dac1 (diff)
Use VerificationNote for non-fatal errors in DCP::read.
Diffstat (limited to 'src/exceptions.h')
-rw-r--r--src/exceptions.h36
1 files changed, 0 insertions, 36 deletions
diff --git a/src/exceptions.h b/src/exceptions.h
index 17b18eb2..ccf7a081 100644
--- a/src/exceptions.h
+++ b/src/exceptions.h
@@ -119,30 +119,6 @@ private:
boost::optional<std::string> _detail;
};
-/** @class MissingAssetError
- * @brief An error of a missing asset.
- */
-class MissingAssetError : public DCPReadError
-{
-public:
- enum AssetType {
- MAIN_PICTURE, //< main picture is missing
- MAIN_SOUND, //< main sound is missing
- MAIN_SUBTITLE, //< main subtitle is missing
- UNKNOWN //< something is missing but we don't know what
- };
-
- MissingAssetError (boost::filesystem::path, AssetType = UNKNOWN);
- ~MissingAssetError () throw () {}
-
- boost::filesystem::path path () const {
- return _path;
- }
-
-private:
- boost::filesystem::path _path;
-};
-
class BadContentKindError : public DCPReadError
{
public:
@@ -198,12 +174,6 @@ public:
ProgrammingError (std::string file, int line);
};
-class MismatchedStandardError : public DCPReadError
-{
-public:
- MismatchedStandardError ();
-};
-
class KDMDecryptionError : public std::runtime_error
{
public:
@@ -228,12 +198,6 @@ public:
MissingSubtitleImageError (std::string id);
};
-class EmptyAssetPathError : public DCPReadError
-{
-public:
- EmptyAssetPathError (std::string id);
-};
-
class BadKDMDateError : public std::runtime_error
{
public: