summaryrefslogtreecommitdiffstats
path: root/include/qpdf/QPDFExc.hh
diff options
context:
space:
mode:
Diffstat (limited to 'include/qpdf/QPDFExc.hh')
-rw-r--r--include/qpdf/QPDFExc.hh6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/qpdf/QPDFExc.hh b/include/qpdf/QPDFExc.hh
index 6b9a11e4..7d6d8968 100644
--- a/include/qpdf/QPDFExc.hh
+++ b/include/qpdf/QPDFExc.hh
@@ -11,7 +11,7 @@
#include <qpdf/DLL.h>
#include <qpdf/Constants.h>
#include <stdexcept>
-#include <stddef.h>
+#include <fcntl.h>
class DLL_EXPORT QPDFExc: public std::runtime_error
{
@@ -36,8 +36,8 @@ class DLL_EXPORT QPDFExc: public std::runtime_error
qpdf_error_code_e getErrorCode() const;
std::string const& getFilename() const;
std::string const& getObject() const;
- off_t getOffset() const;
- std::string const& getMessage() const;
+ off_t getFilePosition() const;
+ std::string const& getMessageDetail() const;
private:
static std::string createWhat(std::string const& filename,