summaryrefslogtreecommitdiffstats
path: root/vendor/setasign/fpdi/src/PdfParser/PdfParserException.php
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-28 12:45:49 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-28 12:45:49 +0000
commit0ff39c83d38ce538a9f5dba53eca0fa9cb16d9e6 (patch)
tree84c735df2e97350a721273e9dd425729d43cc8a2 /vendor/setasign/fpdi/src/PdfParser/PdfParserException.php
parentInitial commit. (diff)
downloadicingaweb2-module-pdfexport-0ff39c83d38ce538a9f5dba53eca0fa9cb16d9e6.tar.xz
icingaweb2-module-pdfexport-0ff39c83d38ce538a9f5dba53eca0fa9cb16d9e6.zip
Adding upstream version 0.10.2+dfsg1.upstream/0.10.2+dfsg1upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'vendor/setasign/fpdi/src/PdfParser/PdfParserException.php')
-rw-r--r--vendor/setasign/fpdi/src/PdfParser/PdfParserException.php49
1 files changed, 49 insertions, 0 deletions
diff --git a/vendor/setasign/fpdi/src/PdfParser/PdfParserException.php b/vendor/setasign/fpdi/src/PdfParser/PdfParserException.php
new file mode 100644
index 0000000..6d034d8
--- /dev/null
+++ b/vendor/setasign/fpdi/src/PdfParser/PdfParserException.php
@@ -0,0 +1,49 @@
+<?php
+
+/**
+ * This file is part of FPDI
+ *
+ * @package setasign\Fpdi
+ * @copyright Copyright (c) 2020 Setasign GmbH & Co. KG (https://www.setasign.com)
+ * @license http://opensource.org/licenses/mit-license The MIT License
+ */
+
+namespace setasign\Fpdi\PdfParser;
+
+use setasign\Fpdi\FpdiException;
+
+/**
+ * Exception for the pdf parser class
+ */
+class PdfParserException extends FpdiException
+{
+ /**
+ * @var int
+ */
+ const NOT_IMPLEMENTED = 0x0001;
+
+ /**
+ * @var int
+ */
+ const IMPLEMENTED_IN_FPDI_PDF_PARSER = 0x0002;
+
+ /**
+ * @var int
+ */
+ const INVALID_DATA_TYPE = 0x0003;
+
+ /**
+ * @var int
+ */
+ const FILE_HEADER_NOT_FOUND = 0x0004;
+
+ /**
+ * @var int
+ */
+ const PDF_VERSION_NOT_FOUND = 0x0005;
+
+ /**
+ * @var int
+ */
+ const INVALID_DATA_SIZE = 0x0006;
+}