diff options
| author | Carl Hetherington <cth@carlh.net> | 2016-01-06 08:28:18 +0000 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2016-01-10 13:09:45 +0000 |
| commit | 93f29880839dc5589bb35f63260a7152ead7655f (patch) | |
| tree | 865dd65298dd11d949efed2ac3f58f3564c7cc8f /src/exceptions.cc | |
| parent | d7965cce4c5f95da7971bce6f800739a4cd2f17d (diff) | |
Introduce dc::Package, changing lots of namespaces in the process.
Diffstat (limited to 'src/exceptions.cc')
| -rw-r--r-- | src/exceptions.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/exceptions.cc b/src/exceptions.cc index b95d2615..b100e4de 100644 --- a/src/exceptions.cc +++ b/src/exceptions.cc @@ -26,7 +26,7 @@ using std::string; using std::runtime_error; -using namespace dcp::dc; +using namespace dcp; FileError::FileError (string message, boost::filesystem::path filename, int number) : runtime_error (String::compose ("%1 (%2) (error %3)", message, filename.string(), number)) @@ -49,7 +49,7 @@ TimeFormatError::TimeFormatError (string bad_time) } MissingAssetError::MissingAssetError (boost::filesystem::path path, AssetType type) - : DCPReadError ( + : PackageReadError ( type == MAIN_PICTURE ? String::compose ("Missing asset %1 for main picture", path.string()) : (type == MAIN_SOUND ? String::compose ("Missing asset %1 for main sound", path.string()) : (type == MAIN_SUBTITLE ? String::compose ("Missing asset %1 for main subtitle", path.string()) : |
