mirror of
https://github.com/qpdf/qpdf.git
synced 2024-11-18 02:25:08 +00:00
9a0b88bf77
git-svn-id: svn+q:///qpdf/trunk@599 71b93d88-0707-0410-a8cf-f5a4172ac649
21 lines
357 B
C++
21 lines
357 B
C++
|
|
#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 ()
|
|
{
|
|
}
|