mirror of
https://github.com/qpdf/qpdf.git
synced 2024-11-17 01:55:09 +00:00
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 ()
|
||
|
{
|
||
|
}
|