PHP Class PHPUnit_Framework_ExceptionWrapper, phpunit

Re-instantiates Exceptions thrown by user-space code to retain their original class names, properties, and stack traces (but without arguments). Unlike PHPUnit_Framework_Exception, the complete stack of previous Exceptions is processed.
Author: Daniel F. Kudwien ([email protected])
Inheritance: extends PHPUnit_Framework_Exception
Afficher le fichier Open project: sebastianbergmann/phpunit Class Usage Examples

Protected Properties

Свойство Type Description
$classname string
$previous PHPUnit_Framework_ExceptionWrapper | null

Méthodes publiques

Méthode Description
__construct ( Throwable $t )
__toString ( ) : string
getClassname ( ) : string
getPreviousWrapped ( ) : PHPUnit_Framework_ExceptionWrapper

Method Details

__construct() public méthode

public __construct ( Throwable $t )
$t Throwable

__toString() public méthode

public __toString ( ) : string
Résultat string

getClassname() public méthode

public getClassname ( ) : string
Résultat string

getPreviousWrapped() public méthode

public getPreviousWrapped ( ) : PHPUnit_Framework_ExceptionWrapper
Résultat PHPUnit_Framework_ExceptionWrapper

Property Details

$classname protected_oe property

protected string $classname
Résultat string

$previous protected_oe property

protected PHPUnit_Framework_ExceptionWrapper|null $previous
Résultat PHPUnit_Framework_ExceptionWrapper | null