diff options
Diffstat (limited to 'libqpdf/Pl_MD5.cc')
-rw-r--r-- | libqpdf/Pl_MD5.cc | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/libqpdf/Pl_MD5.cc b/libqpdf/Pl_MD5.cc index f368b93b..1fe91bf5 100644 --- a/libqpdf/Pl_MD5.cc +++ b/libqpdf/Pl_MD5.cc @@ -1,7 +1,5 @@ - #include <qpdf/Pl_MD5.hh> - -#include <qpdf/QEXC.hh> +#include <stdexcept> DLL_EXPORT Pl_MD5::Pl_MD5(char const* identifier, Pipeline* next) : @@ -42,7 +40,8 @@ Pl_MD5::getHexDigest() { if (this->in_progress) { - throw QEXC::General("digest requested for in-progress MD5 Pipeline"); + throw std::logic_error( + "digest requested for in-progress MD5 Pipeline"); } return this->md5.unparse(); } |