aboutsummaryrefslogtreecommitdiffstats
path: root/libqpdf/QPDFExc.cc
blob: c7270677e88961d022acd34aac35f329b04e4511 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20

#include <qpdf/QPDFExc.hh>

#include <qpdf/QUtil.hh>

QPDFExc::QPDFExc(std::string const& message) :
    QEXC::General(message)
{
}

QPDFExc::QPDFExc(std::string const& filename, int offset,
		 std::string const& message) :
    QEXC::General(filename + ": offset " + QUtil::int_to_string(offset) +
		  ": " + message)
{
}

QPDFExc::~QPDFExc() throw ()
{
}