aboutsummaryrefslogtreecommitdiffstats
path: root/libqpdf/Pl_PNGFilter.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/Pl_PNGFilter.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/Pl_PNGFilter.cc')
-rw-r--r--libqpdf/Pl_PNGFilter.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/libqpdf/Pl_PNGFilter.cc b/libqpdf/Pl_PNGFilter.cc
index 792b4a02..9e493793 100644
--- a/libqpdf/Pl_PNGFilter.cc
+++ b/libqpdf/Pl_PNGFilter.cc
@@ -1,5 +1,5 @@
-
#include <qpdf/Pl_PNGFilter.hh>
+#include <stdexcept>
#include <string.h>
DLL_EXPORT
@@ -85,7 +85,7 @@ Pl_PNGFilter::decodeRow()
break;
case 1: // sub
- throw Exception("sub filter not implemented");
+ throw std::logic_error("sub filter not implemented");
break;
case 2: // up
@@ -96,11 +96,11 @@ Pl_PNGFilter::decodeRow()
break;
case 3: // average
- throw Exception("average filter not implemented");
+ throw std::logic_error("average filter not implemented");
break;
case 4: // Paeth
- throw Exception("Paeth filter not implemented");
+ throw std::logic_error("Paeth filter not implemented");
break;
default: