|
file-fetcher
|
Wraps Exceptions thrown by code under test.
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.
Public Member Functions | |
| __construct (Throwable $t) | |
| __toString () | |
| getClassName () | |
| getPreviousWrapped () | |
| setClassName (string $className) | |
| setOriginalException (Throwable $t) | |
| getOriginalException () | |
Public Member Functions inherited from PHPUnit\Framework\Exception | |
| __construct ($message='', $code=0, \Throwable $previous=null) | |
| __sleep () | |
| getSerializableTrace () | |
Protected Attributes | |
| $className | |
| $previous | |
Protected Attributes inherited from PHPUnit\Framework\Exception | |
| $serializableTrace | |
| PHPUnit\Framework\ExceptionWrapper::__construct | ( | Throwable | $t | ) |
| PHPUnit\Framework\ExceptionWrapper::__toString | ( | ) |
Reimplemented from PHPUnit\Framework\Exception.
| PHPUnit\Framework\ExceptionWrapper::getClassName | ( | ) |
| PHPUnit\Framework\ExceptionWrapper::getOriginalException | ( | ) |
| PHPUnit\Framework\ExceptionWrapper::getPreviousWrapped | ( | ) |
| PHPUnit\Framework\ExceptionWrapper::setClassName | ( | string | $className | ) |
| PHPUnit\Framework\ExceptionWrapper::setOriginalException | ( | Throwable | $t | ) |
|
protected |
|
protected |
1.8.17