diff options
author | Jay Berkenbilt <ejb@ql.org> | 2008-04-29 14:55:25 +0200 |
---|---|---|
committer | Jay Berkenbilt <ejb@ql.org> | 2008-04-29 14:55:25 +0200 |
commit | 9a0b88bf7777c153dc46ace22db74ef24d51583a (patch) | |
tree | f567ac1cf2bf5071a611eb49323a935b6ac938ff /libqpdf/QPDFExc.cc | |
download | qpdf-9a0b88bf7777c153dc46ace22db74ef24d51583a.tar.zst |
update release date to actual daterelease-qpdf-2.0
git-svn-id: svn+q:///qpdf/trunk@599 71b93d88-0707-0410-a8cf-f5a4172ac649
Diffstat (limited to 'libqpdf/QPDFExc.cc')
-rw-r--r-- | libqpdf/QPDFExc.cc | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/libqpdf/QPDFExc.cc b/libqpdf/QPDFExc.cc new file mode 100644 index 00000000..c7270677 --- /dev/null +++ b/libqpdf/QPDFExc.cc @@ -0,0 +1,20 @@ + +#include <qpdf/QPDFExc.hh> + +#include <qpdf/QUtil.hh> + +QPDFExc::QPDFExc(std::string const& message) : + QEXC::General(message) +{ +} + +QPDFExc::QPDFExc(std::string const& filename, int offset, + std::string const& message) : + QEXC::General(filename + ": offset " + QUtil::int_to_string(offset) + + ": " + message) +{ +} + +QPDFExc::~QPDFExc() throw () +{ +} |