mirror of
https://github.com/qpdf/qpdf.git
synced 2024-06-27 15:43:33 +00:00
44cbd3d4b4
git-svn-id: svn+q:///qpdf/trunk@796 71b93d88-0707-0410-a8cf-f5a4172ac649
25 lines
626 B
C++
25 lines
626 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>
|
|
|
|
DLL_EXPORT
|
|
class QPDFExc: public std::runtime_error
|
|
{
|
|
public:
|
|
QPDFExc(std::string const& message);
|
|
QPDFExc(std::string const& filename, int offset,
|
|
std::string const& message);
|
|
virtual ~QPDFExc() throw ();
|
|
};
|
|
|
|
#endif // __QPDFEXC_HH__
|