summaryrefslogtreecommitdiff
path: root/src/exceptions.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/exceptions.h')
-rw-r--r--src/exceptions.h8
1 files changed, 1 insertions, 7 deletions
diff --git a/src/exceptions.h b/src/exceptions.h
index 602aa16b..2070dd0f 100644
--- a/src/exceptions.h
+++ b/src/exceptions.h
@@ -21,7 +21,6 @@
#define LIBDCP_EXCEPTIONS_H
#include <boost/filesystem.hpp>
-#include "compose.hpp"
/** @file src/exceptions.h
* @brief Exceptions thrown by libdcp.
@@ -34,12 +33,7 @@ namespace libdcp
class FileError : public std::exception
{
public:
- FileError (std::string const & message, boost::filesystem::path filename, int number)
- : _message (String::compose ("%1 (error %2) (%3)", message, filename.string(), number))
- , _filename (filename)
- , _number (number)
- {}
-
+ FileError (std::string const & message, boost::filesystem::path filename, int number);
~FileError () throw () {}
/** @return error message */