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\CrossReference;
  12  
  13  use setasign\Fpdi\PdfParser\PdfParserException;
  14  
  15  /**
  16   * Exception used by the CrossReference and Reader classes.
  17   */
  18  class CrossReferenceException extends PdfParserException
  19  {
  20      /**
  21       * @var int
  22       */
  23      const INVALID_DATA = 0x0101;
  24  
  25      /**
  26       * @var int
  27       */
  28      const XREF_MISSING = 0x0102;
  29  
  30      /**
  31       * @var int
  32       */
  33      const ENTRIES_TOO_LARGE = 0x0103;
  34  
  35      /**
  36       * @var int
  37       */
  38      const ENTRIES_TOO_SHORT = 0x0104;
  39  
  40      /**
  41       * @var int
  42       */
  43      const NO_ENTRIES = 0x0105;
  44  
  45      /**
  46       * @var int
  47       */
  48      const NO_TRAILER_FOUND = 0x0106;
  49  
  50      /**
  51       * @var int
  52       */
  53      const NO_STARTXREF_FOUND = 0x0107;
  54  
  55      /**
  56       * @var int
  57       */
  58      const NO_XREF_FOUND = 0x0108;
  59  
  60      /**
  61       * @var int
  62       */
  63      const UNEXPECTED_END = 0x0109;
  64  
  65      /**
  66       * @var int
  67       */
  68      const OBJECT_NOT_FOUND = 0x010A;
  69  
  70      /**
  71       * @var int
  72       */
  73      const COMPRESSED_XREF = 0x010B;
  74  
  75      /**
  76       * @var int
  77       */
  78      const ENCRYPTED = 0x010C;
  79  }