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

#include <qpdf/QPDFExc.hh>

#include <qpdf/QUtil.hh>

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

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

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