diff options
| author | Carl Hetherington <cth@carlh.net> | 2014-03-18 18:23:05 +0000 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2014-03-18 18:23:05 +0000 |
| commit | 90c23c53318af92fc7e77d12a612eab619aff937 (patch) | |
| tree | 442562be8f6fbe99b5ba82e8ebad8a0de858d350 /src/dcp.cc | |
| parent | 8af7b48d8831cf348163a2f61c14b059cd67a8fd (diff) | |
Various test tidying.
Diffstat (limited to 'src/dcp.cc')
| -rw-r--r-- | src/dcp.cc | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -228,12 +228,12 @@ DCP::read_assets () if (boost::filesystem::exists (p)) { asset_map.reset (new libdcp::parse::AssetMap (p.string ())); } else { - boost::throw_exception (DCPReadError ("could not find AssetMap file")); + boost::throw_exception (FileError ("could not find AssetMap file", p, -1)); } } } catch (FileError& e) { - boost::throw_exception (FileError ("could not load AssetMap file", _files.asset_map, e.number ())); + boost::throw_exception (FileError ("could not load AssetMap file", e.filename(), e.number ())); } for (list<shared_ptr<libdcp::parse::AssetMapAsset> >::const_iterator i = asset_map->assets.begin(); i != asset_map->assets.end(); ++i) { |
