diff options
author | Jay Berkenbilt <ejb@ql.org> | 2009-09-26 20:36:04 +0200 |
---|---|---|
committer | Jay Berkenbilt <ejb@ql.org> | 2009-09-26 20:36:04 +0200 |
commit | f3d7c26de1f575a14017a161ad1fdd2b93385e03 (patch) | |
tree | 065d6b0e12534a7371974bfb17e77c91d7b217d6 /libqpdf/Pl_ASCII85Decoder.cc | |
parent | 64546cfa0ddc2cf4c91e0865e979947c6b20ca46 (diff) | |
download | qpdf-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_ASCII85Decoder.cc')
-rw-r--r-- | libqpdf/Pl_ASCII85Decoder.cc | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/libqpdf/Pl_ASCII85Decoder.cc b/libqpdf/Pl_ASCII85Decoder.cc index 999ef0ae..d018e2de 100644 --- a/libqpdf/Pl_ASCII85Decoder.cc +++ b/libqpdf/Pl_ASCII85Decoder.cc @@ -1,6 +1,6 @@ #include <qpdf/Pl_ASCII85Decoder.hh> -#include <qpdf/QEXC.hh> #include <qpdf/QTC.hh> +#include <stdexcept> #include <string.h> DLL_EXPORT @@ -40,7 +40,7 @@ Pl_ASCII85Decoder::write(unsigned char* buf, int len) } else { - throw QEXC::General( + throw std::runtime_error( "broken end-of-data sequence in base 85 data"); } } @@ -65,7 +65,7 @@ Pl_ASCII85Decoder::write(unsigned char* buf, int len) case 'z': if (pos != 0) { - throw QEXC::General( + throw std::runtime_error( "unexpected z during base 85 decode"); } else @@ -78,8 +78,8 @@ Pl_ASCII85Decoder::write(unsigned char* buf, int len) default: if ((buf[i] < 33) || (buf[i] > 117)) { - throw QEXC::General - ("character out of range during base 85 decode"); + throw std::runtime_error( + "character out of range during base 85 decode"); } else { |