diff options
Diffstat (limited to 'src/exceptions.cc')
| -rw-r--r-- | src/exceptions.cc | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/exceptions.cc b/src/exceptions.cc index 1ded4483..5c486d09 100644 --- a/src/exceptions.cc +++ b/src/exceptions.cc @@ -1,5 +1,5 @@ /* - Copyright (C) 2014 Carl Hetherington <cth@carlh.net> + Copyright (C) 2014-2018 Carl Hetherington <cth@carlh.net> This file is part of libdcp. @@ -72,6 +72,12 @@ MissingAssetError::MissingAssetError (boost::filesystem::path path, AssetType ty } +BadContentKindError::BadContentKindError (string content_kind) + : DCPReadError (String::compose("Bad content kind '%1'", content_kind)) +{ + +} + NotEncryptedError::NotEncryptedError (string const & what) : runtime_error (String::compose ("%1 is not encrypted", what)) { |
