2
1
mirror of https://github.com/qpdf/qpdf.git synced 2024-05-31 09:20:52 +00:00
qpdf/include/qpdf/QPDFExc.hh
Jay Berkenbilt f3d7c26de1 removed qexc; non-compatible ABI change
git-svn-id: svn+q:///qpdf/trunk@709 71b93d88-0707-0410-a8cf-f5a4172ac649
2009-09-26 18:36:04 +00:00

27 lines
660 B
C++

// Copyright (c) 2005-2009 Jay Berkenbilt
//
// This file is part of qpdf. This software may be distributed under
// the terms of version 2 of the Artistic License which may be found
// in the source distribution. It is provided "as is" without express
// or implied warranty.
#ifndef __QPDFEXC_HH__
#define __QPDFEXC_HH__
#include <qpdf/DLL.hh>
#include <stdexcept>
class QPDFExc: public std::runtime_error
{
public:
DLL_EXPORT
QPDFExc(std::string const& message);
DLL_EXPORT
QPDFExc(std::string const& filename, int offset,
std::string const& message);
DLL_EXPORT
virtual ~QPDFExc() throw ();
};
#endif // __QPDFEXC_HH__