2
1
mirror of https://github.com/qpdf/qpdf.git synced 2024-09-28 13:09:05 +00:00
qpdf/libqpdf/QPDFExc.cc
Jay Berkenbilt 44cbd3d4b4 do DLL_EXPORT only in header files and only at the class or top-level function level
git-svn-id: svn+q:///qpdf/trunk@796 71b93d88-0707-0410-a8cf-f5a4172ac649
2009-10-12 01:15:55 +00:00

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