mirror of
https://github.com/qpdf/qpdf.git
synced 2024-11-16 17:45:09 +00:00
44cbd3d4b4
git-svn-id: svn+q:///qpdf/trunk@796 71b93d88-0707-0410-a8cf-f5a4172ac649
19 lines
370 B
C++
19 lines
370 B
C++
#include <qpdf/QPDFExc.hh>
|
|
#include <qpdf/QUtil.hh>
|
|
|
|
QPDFExc::QPDFExc(std::string const& message) :
|
|
std::runtime_error(message)
|
|
{
|
|
}
|
|
|
|
QPDFExc::QPDFExc(std::string const& filename, int offset,
|
|
std::string const& message) :
|
|
std::runtime_error(filename + ": offset " + QUtil::int_to_string(offset) +
|
|
": " + message)
|
|
{
|
|
}
|
|
|
|
QPDFExc::~QPDFExc() throw ()
|
|
{
|
|
}
|