dompdf_exception.cls.php 551 B

1234567891011121314151617181920212223242526
  1. <?php
  2. /**
  3. * @package dompdf
  4. * @link http://dompdf.github.com/
  5. * @author Benj Carson <benjcarson@digitaljunkies.ca>
  6. * @license http://www.gnu.org/copyleft/lesser.html GNU Lesser General Public License
  7. */
  8. /**
  9. * Standard exception thrown by DOMPDF classes
  10. *
  11. * @package dompdf
  12. */
  13. class DOMPDF_Exception extends Exception {
  14. /**
  15. * Class constructor
  16. *
  17. * @param string $message Error message
  18. * @param int $code Error code
  19. */
  20. function __construct($message = null, $code = 0) {
  21. parent::__construct($message, $code);
  22. }
  23. }