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