PHPUnit2
[ class tree: PHPUnit2 ] [ index: PHPUnit2 ] [ all elements ]

Source for file Error.php

Documentation is available at Error.php

  1. <?php
  2. //
  3. // +------------------------------------------------------------------------+
  4. // | PEAR :: PHPUnit2                                                       |
  5. // +------------------------------------------------------------------------+
  6. // | Copyright (c) 2002-2005 Sebastian Bergmann <sb@sebastian-bergmann.de>. |
  7. // +------------------------------------------------------------------------+
  8. // | This source file is subject to version 3.00 of the PHP License,        |
  9. // | that is available at http://www.php.net/license/3_0.txt.               |
  10. // | If you did not receive a copy of the PHP license and are unable to     |
  11. // | obtain it through the world-wide-web, please send a note to            |
  12. // | license@php.net so we can mail you a copy immediately.                 |
  13. // +------------------------------------------------------------------------+
  14. //
  15. // $Id: Error.php,v 1.1.2.1 2004/12/22 08:06:07 sebastian Exp $
  16. //
  17.  
  18. /**
  19.  * Wrapper for PHP errors.
  20.  *
  21.  * @author      Sebastian Bergmann <sb@sebastian-bergmann.de>
  22.  * @copyright   Copyright &copy; 2002-2005 Sebastian Bergmann <sb@sebastian-bergmann.de>
  23.  * @license     http://www.php.net/license/3_0.txt The PHP License, Version 3.0
  24.  * @category    Testing
  25.  * @package     PHPUnit2
  26.  * @subpackage  Framework
  27.  * @since       2.2.0
  28.  */
  29. class PHPUnit2_Framework_Error extends Exception {
  30.     public function __construct($message$code$file$line$trace{
  31.         parent::__construct($message$code);
  32.  
  33.         $this->file  $file;
  34.         $this->line  $line;
  35.         $this->trace $trace;
  36.     }
  37. }
  38.  
  39. /*
  40.  * vim600:  et sw=2 ts=2 fdm=marker
  41.  * vim<600: et sw=2 ts=2
  42.  */
  43. ?>

Documentation generated on Mon, 11 Mar 2019 14:19:18 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.