2009-02-15 16:31:12 +00:00
|
|
|
// Copyright (c) 2005-2009 Jay Berkenbilt
|
2008-04-29 12:55:25 +00:00
|
|
|
//
|
|
|
|
// 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__
|
|
|
|
|
2009-09-26 18:36:04 +00:00
|
|
|
#include <qpdf/DLL.hh>
|
|
|
|
#include <stdexcept>
|
2008-04-29 12:55:25 +00:00
|
|
|
|
2009-10-12 01:15:55 +00:00
|
|
|
DLL_EXPORT
|
2009-09-26 18:36:04 +00:00
|
|
|
class QPDFExc: public std::runtime_error
|
2008-04-29 12:55:25 +00:00
|
|
|
{
|
|
|
|
public:
|
|
|
|
QPDFExc(std::string const& message);
|
|
|
|
QPDFExc(std::string const& filename, int offset,
|
|
|
|
std::string const& message);
|
|
|
|
virtual ~QPDFExc() throw ();
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif // __QPDFEXC_HH__
|