aboutsummaryrefslogtreecommitdiffstats
path: root/libqpdf/QPDFExc.cc
diff options
context:
space:
mode:
Diffstat (limited to 'libqpdf/QPDFExc.cc')
-rw-r--r--libqpdf/QPDFExc.cc30
1 files changed, 30 insertions, 0 deletions
diff --git a/libqpdf/QPDFExc.cc b/libqpdf/QPDFExc.cc
index 614990a9..1fc9d724 100644
--- a/libqpdf/QPDFExc.cc
+++ b/libqpdf/QPDFExc.cc
@@ -54,3 +54,33 @@ QPDFExc::createWhat(std::string const& filename,
result += message;
return result;
}
+
+qpdf_error_code_e
+QPDFExc::getErrorCode() const
+{
+ return this->error_code;
+}
+
+std::string const&
+QPDFExc::getFilename() const
+{
+ return this->filename;
+}
+
+std::string const&
+QPDFExc::getObject() const
+{
+ return this->object;
+}
+
+off_t
+QPDFExc::getFilePosition() const
+{
+ return this->offset;
+}
+
+std::string const&
+QPDFExc::getMessageDetail() const
+{
+ return this->message;
+}