forked from pocoproject/poco
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathPDFException.h
More file actions
43 lines (29 loc) · 860 Bytes
/
PDFException.h
File metadata and controls
43 lines (29 loc) · 860 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
//
// PDFException.h
//
// $Id: //poco/Main/PDF/include/Poco/PDF/PDFException.h#8 $
//
// Library: PDF
// Package: PDFCore
// Module: PDFException
//
// Definition of the PDFException class.
//
// Copyright (c) 2006, Applied Informatics Software Engineering GmbH.
// and Contributors.
//
// SPDX-License-Identifier: BSL-1.0
//
#ifndef PDF_PDFException_INCLUDED
#define PDF_PDFException_INCLUDED
#include "Poco/PDF/PDF.h"
#include "Poco/Exception.h"
namespace Poco {
namespace PDF {
void HPDF_Error_Handler(HPDF_STATUS error_no, HPDF_STATUS detail_no, void* user_data);
/// HARU library error handler function.
/// Throws appropriate exception.
POCO_DECLARE_EXCEPTION(PDF_API, PDFException, Poco::RuntimeException)
POCO_DECLARE_EXCEPTION(PDF_API, PDFCreateException, PDFException)
} } // namespace Poco::PDF
#endif // PDF_PDFException_INCLUDED