aboutsummaryrefslogtreecommitdiffstats
path: root/libqpdf/QPDFExc.cc
diff options
context:
space:
mode:
authorJay Berkenbilt <ejb@ql.org>2009-09-26 20:36:04 +0200
committerJay Berkenbilt <ejb@ql.org>2009-09-26 20:36:04 +0200
commitf3d7c26de1f575a14017a161ad1fdd2b93385e03 (patch)
tree065d6b0e12534a7371974bfb17e77c91d7b217d6 /libqpdf/QPDFExc.cc
parent64546cfa0ddc2cf4c91e0865e979947c6b20ca46 (diff)
downloadqpdf-f3d7c26de1f575a14017a161ad1fdd2b93385e03.tar.zst
removed qexc; non-compatible ABI change
git-svn-id: svn+q:///qpdf/trunk@709 71b93d88-0707-0410-a8cf-f5a4172ac649
Diffstat (limited to 'libqpdf/QPDFExc.cc')
-rw-r--r--libqpdf/QPDFExc.cc8
1 files changed, 3 insertions, 5 deletions
diff --git a/libqpdf/QPDFExc.cc b/libqpdf/QPDFExc.cc
index bac52e03..ddd175ed 100644
--- a/libqpdf/QPDFExc.cc
+++ b/libqpdf/QPDFExc.cc
@@ -1,19 +1,17 @@
-
#include <qpdf/QPDFExc.hh>
-
#include <qpdf/QUtil.hh>
DLL_EXPORT
QPDFExc::QPDFExc(std::string const& message) :
- QEXC::General(message)
+ std::runtime_error(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)
+ std::runtime_error(filename + ": offset " + QUtil::int_to_string(offset) +
+ ": " + message)
{
}