paintException() public méthode

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