mirror of
https://github.com/qpdf/qpdf.git
synced 2024-11-16 01:27:07 +00:00
1e74c03acd
git-svn-id: svn+q:///qpdf/trunk@688 71b93d88-0707-0410-a8cf-f5a4172ac649
24 lines
390 B
C++
24 lines
390 B
C++
|
|
#include <qpdf/QPDFExc.hh>
|
|
|
|
#include <qpdf/QUtil.hh>
|
|
|
|
DLL_EXPORT
|
|
QPDFExc::QPDFExc(std::string const& message) :
|
|
QEXC::General(message)
|
|
{
|
|
}
|
|
|
|
DLL_EXPORT
|
|
QPDFExc::QPDFExc(std::string const& filename, int offset,
|
|
std::string const& message) :
|
|
QEXC::General(filename + ": offset " + QUtil::int_to_string(offset) +
|
|
": " + message)
|
|
{
|
|
}
|
|
|
|
DLL_EXPORT
|
|
QPDFExc::~QPDFExc() throw ()
|
|
{
|
|
}
|