paintException() public method

Paints a PHP error or exception.
public paintException ( Exception $exception )
$exception Exception Exception to describe.
Exemplo n.º 1
0
 /**
  * Paint exception faildetail to STDERR.
  */
 function paintException($message)
 {
     parent::paintException($message);
     fwrite(STDERR, 'EXCEPTION' . $this->faildetail_separator . $this->_paintTestFailDetail($message));
 }
Exemplo n.º 2
0
 public function paintException($exception)
 {
     parent::paintException($exception);
     print $exception->getTraceAsString();
     print "\n";
 }
Exemplo n.º 3
0
 function paintException($exception)
 {
     parent::paintException($exception);
     print "Exception full message:\n";
     print $exception->__toString();
     $this->failed_tests[] = '[EXP] ' . $this->_extractExceptionFileAndLine($exception);
 }