mirror of
https://github.com/qpdf/qpdf.git
synced 2024-12-22 19:08:59 +00:00
f3d7c26de1
git-svn-id: svn+q:///qpdf/trunk@709 71b93d88-0707-0410-a8cf-f5a4172ac649
22 lines
403 B
C++
22 lines
403 B
C++
#include <qpdf/QPDFExc.hh>
|
|
#include <qpdf/QUtil.hh>
|
|
|
|
DLL_EXPORT
|
|
QPDFExc::QPDFExc(std::string const& message) :
|
|
std::runtime_error(message)
|
|
{
|
|
}
|
|
|
|
DLL_EXPORT
|
|
QPDFExc::QPDFExc(std::string const& filename, int offset,
|
|
std::string const& message) :
|
|
std::runtime_error(filename + ": offset " + QUtil::int_to_string(offset) +
|
|
": " + message)
|
|
{
|
|
}
|
|
|
|
DLL_EXPORT
|
|
QPDFExc::~QPDFExc() throw ()
|
|
{
|
|
}
|