class PHPUnit_Framework_Error in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/phpunit/phpunit/src/Framework/Error.php \PHPUnit_Framework_Error
Wrapper for PHP errors.
@since Class available since Release 2.2.0
Hierarchy
- class \PHPUnit_Framework_Exception extends \RuntimeException implements PHPUnit_Exception
- class \PHPUnit_Framework_Error
Expanded class hierarchy of PHPUnit_Framework_Error
1 string reference to 'PHPUnit_Framework_Error'
- PHPUnit_Util_ErrorHandler::handleError in vendor/
phpunit/ phpunit/ src/ Util/ ErrorHandler.php
File
- vendor/
phpunit/ phpunit/ src/ Framework/ Error.php, line 16
View source
class PHPUnit_Framework_Error extends PHPUnit_Framework_Exception {
/**
* Constructor.
*
* @param string $message
* @param int $code
* @param string $file
* @param int $line
* @param Exception $previous
*/
public function __construct($message, $code, $file, $line, Exception $previous = null) {
parent::__construct($message, $code, $previous);
$this->file = $file;
$this->line = $line;
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
PHPUnit_Framework_Error:: |
public | function |
Constructor. Overrides PHPUnit_Framework_Exception:: |
|
PHPUnit_Framework_Exception:: |
protected | property | ||
PHPUnit_Framework_Exception:: |
public | function | Returns the serializable trace (without 'args'). | |
PHPUnit_Framework_Exception:: |
public | function | ||
PHPUnit_Framework_Exception:: |
public | function | 1 |