Html2TextException.php 835 B

12345678910111213141516171819202122232425262728
  1. <?php
  2. /******************************************************************************
  3. * Copyright (c) 2010 Jevon Wright and others.
  4. * All rights reserved. This program and the accompanying materials
  5. * are made available under the terms of the Eclipse Public License v1.0
  6. * which accompanies this distribution, and is available at
  7. * http://www.eclipse.org/legal/epl-v10.html
  8. *
  9. * or
  10. *
  11. * LGPL which is available at http://www.gnu.org/licenses/lgpl.html
  12. *
  13. *
  14. * Contributors:
  15. * Jevon Wright - initial API and implementation
  16. ****************************************************************************/
  17. namespace Html2Text;
  18. class Html2TextException extends \Exception {
  19. var $more_info;
  20. public function __construct($message = "", $more_info = "") {
  21. parent::__construct($message);
  22. $this->more_info = $more_info;
  23. }
  24. }