diff options
Diffstat (limited to 'src/exceptions.cc')
| -rw-r--r-- | src/exceptions.cc | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/src/exceptions.cc b/src/exceptions.cc index c3755a60..e5a46948 100644 --- a/src/exceptions.cc +++ b/src/exceptions.cc @@ -17,13 +17,17 @@ */ +/** @file src/exceptions.cc + * @brief Exceptions thrown by libdcp. + */ + #include "exceptions.h" #include "compose.hpp" using std::string; using namespace dcp; -FileError::FileError (std::string const & message, boost::filesystem::path filename, int number) +FileError::FileError (string message, boost::filesystem::path filename, int number) : _message (String::compose ("%1 (error %2) (%3)", message, filename.string(), number)) , _filename (filename) , _number (number) @@ -31,3 +35,9 @@ FileError::FileError (std::string const & message, boost::filesystem::path filen } +UnresolvedRefError::UnresolvedRefError (string id) + : _message (String::compose ("Unresolved reference to asset id %1", id)) +{ + +} + |
