diff options
Diffstat (limited to 'src/exceptions.cc')
| -rw-r--r-- | src/exceptions.cc | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/src/exceptions.cc b/src/exceptions.cc index 19422090..a49c7004 100644 --- a/src/exceptions.cc +++ b/src/exceptions.cc @@ -62,17 +62,6 @@ TimeFormatError::TimeFormatError (string bad_time) } -MissingAssetError::MissingAssetError (boost::filesystem::path path, AssetType type) - : DCPReadError ( - type == MAIN_PICTURE ? String::compose ("Missing asset %1 for main picture", path.filename().string()) : - (type == MAIN_SOUND ? String::compose ("Missing asset %1 for main sound", path.filename().string()) : - (type == MAIN_SUBTITLE ? String::compose ("Missing asset %1 for main subtitle", path.filename().string()) : - String::compose ("Missing asset %1", path.filename().string())))) - , _path (path) -{ - -} - BadContentKindError::BadContentKindError (string content_kind) : DCPReadError (String::compose("Bad content kind '%1'", content_kind)) { @@ -92,12 +81,6 @@ ProgrammingError::ProgrammingError (string file, int line) } -MismatchedStandardError::MismatchedStandardError () - : DCPReadError ("DCP contains both Interop and SMPTE parts") -{ - -} - KDMDecryptionError::KDMDecryptionError (std::string message, int cipher_length, int modulus_dmax) : runtime_error (String::compose ("Could not decrypt KDM (%1) (%2/%3)", message, cipher_length, modulus_dmax)) { @@ -130,15 +113,6 @@ MissingSubtitleImageError::MissingSubtitleImageError (string id) } -/** The <Path> in the ASSETMAP is empty for asset. I can't see how this is valid, - but it's been seen in the wild with a DCP that claims to come from ClipsterDCI 5.10.0.5. - */ -EmptyAssetPathError::EmptyAssetPathError (string id) - : DCPReadError (String::compose("Asset map path is empty for asset %1", id)) -{ - -} - BadKDMDateError::BadKDMDateError (bool starts_too_early) : runtime_error ( starts_too_early ? |
