code: public function paintFail($message)
      {
          parent::paintFail($message);
          print $this->getIndent(1);
          print '<' . $this->namespace . 'fail>';
          print $this->toParsedXml($message);
          print '</' . $this->namespace . "fail>\n";
      }
docs: Paints failure as XML.
  
  @param string $message        Message to encode.