SimpleReporterDecorator::paintException PHP Method

paintException() public method

Chains to the wrapped reporter.
public paintException ( Exception $exception )
$exception Exception Exception to show.
    public function paintException($exception)
    {
        $this->reporter->paintException($exception);
    }

Usage Example

Esempio n. 1
0
 /**
  *    Stashes the exception as a SimpleResultOfException
  *    for later retrieval.
  *    @param string $message    Exception message to be displayed
  *                              eventually.
  */
 function paintException($message)
 {
     parent::paintException($message);
     $this->results[] = new SimpleResultOfException(parent::getTestList(), $message);
 }