Search moodle.org's
Developer Documentation

See Release Notes

  • Bug fixes for general core bugs in 3.11.x will end 14 Nov 2022 (12 months plus 6 months extension).
  • Bug fixes for security issues in 3.11.x will end 13 Nov 2023 (18 months plus 12 months extension).
  • PHP version: minimum PHP 7.3.0 Note: minimum PHP version has increased since Moodle 3.10. PHP 7.4.x is supported too.

Differences Between: [Versions 310 and 311] [Versions 39 and 311]

   1  <?php
   2  
   3  /**
   4   * This file is part of FPDI
   5   *
   6   * @package   setasign\Fpdi
   7   * @copyright Copyright (c) 2020 Setasign GmbH & Co. KG (https://www.setasign.com)
   8   * @license   http://opensource.org/licenses/mit-license The MIT License
   9   */
  10  
  11  namespace setasign\Fpdi\PdfParser;
  12  
  13  use setasign\Fpdi\FpdiException;
  14  
  15  /**
  16   * Exception for the pdf parser class
  17   */
  18  class PdfParserException extends FpdiException
  19  {
  20      /**
  21       * @var int
  22       */
  23      const NOT_IMPLEMENTED = 0x0001;
  24  
  25      /**
  26       * @var int
  27       */
  28      const IMPLEMENTED_IN_FPDI_PDF_PARSER = 0x0002;
  29  
  30      /**
  31       * @var int
  32       */
  33      const INVALID_DATA_TYPE = 0x0003;
  34  
  35      /**
  36       * @var int
  37       */
  38      const FILE_HEADER_NOT_FOUND = 0x0004;
  39  
  40      /**
  41       * @var int
  42       */
  43      const PDF_VERSION_NOT_FOUND = 0x0005;
  44  
  45      /**
  46       * @var int
  47       */
  48      const INVALID_DATA_SIZE = 0x0006;
  49  }