3 * This file is part of PHPUnit.
5 * (c) Sebastian Bergmann <sebastian@phpunit.de>
7 * For the full copyright and license information, please view the LICENSE
8 * file that was distributed with this source code.
12 * Wrapper for PHP errors.
14 * @since Class available since Release 2.2.0
16 class PHPUnit_Framework_Error extends PHPUnit_Framework_Exception
21 * @param string $message
25 * @param Exception $previous
27 public function __construct($message, $code, $file, $line, Exception $previous = null)
29 parent::__construct($message, $code, $previous);