class (none) \ PHPUnit_Framework_ExceptionWrapper

All implemented interfaces:
PHPUnit_Exception

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.

See Also:
http://fabien.potencier.org/article/9/php-serialization-stack-traces-and-exceptions

Method Summary

Name Description
__construct(Exception $e)
__toString()
getClassname()
getPreviousWrapped()

Inherited Method Summary

Name Description
__sleep() (from PHPUnit_Framework_Exception)
getSerializableTrace()Returns the serializable trace (without 'args'). (from PHPUnit_Framework_Exception)

public function __construct(Exception $e)

Overrides:
__construct($message = "", $code = 0, Exception $previous = null)

public function __toString()

Overrides:
__toString()
Returns:
string

public function getClassname()

Returns:
string

public function getPreviousWrapped()

Returns:
PHPUnit_Framework_ExceptionWrapper