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__
|
|
|
|
|
|
|
|
#include <qpdf/QEXC.hh>
|
|
|
|
|
|
|
|
class QPDFExc: public QEXC::General
|
|
|
|
{
|
|
|
|
public:
|
2009-08-06 19:00:25 +00:00
|
|
|
DLL_EXPORT
|
2008-04-29 12:55:25 +00:00
|
|
|
QPDFExc(std::string const& message);
|
2009-08-06 19:00:25 +00:00
|
|
|
DLL_EXPORT
|
2008-04-29 12:55:25 +00:00
|
|
|
QPDFExc(std::string const& filename, int offset,
|
|
|
|
std::string const& message);
|
2009-08-06 19:00:25 +00:00
|
|
|
DLL_EXPORT
|
2008-04-29 12:55:25 +00:00
|
|
|
virtual ~QPDFExc() throw ();
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif // __QPDFEXC_HH__
|