2
1
mirror of https://github.com/qpdf/qpdf.git synced 2024-11-16 09:37:08 +00:00
qpdf/libqpdf/QPDFExc.cc

19 lines
370 B
C++
Raw Normal View History

#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 ()
{
}