ExceptionWrapper
class ExceptionWrapper extends Exception (View source)
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.
Properties
protected array | $serializableTrace | from Exception | |
protected string | $className | ||
protected ExceptionWrapper|null | $previous |
Methods
string
__toString()
No description
string
getClassName()
No description
getPreviousWrapped()
No description