xml.php
public function paintError($message)
    {
        parent::paintError($message);
        print $this->getIndent(1);
        print '<' . $this->namespace . 'exception>';
        print $this->toParsedXml($message);
        print '</' . $this->namespace . "exception>\n";
    }
public function paintError($message)
    {
        parent::paintError($message);
        print $this->getIndent(1);
        print '<' . $this->namespace . 'exception>';
        print $this->toParsedXml($message);
        print '</' . $this->namespace . "exception>\n";
    }
public function paintError ( $ message ) { parent :: paintError ( $ message ) ; print $ this -> getIndent ( 1 ) ; print '<' . $ this -> namespace . 'exception>' ; print $ this -> toParsedXml ( $ message ) ; print '</' . $ this -> namespace . "exception>\n" ; }
Paints error as XML.

@param string $message        Message to encode.
Paints error as XML .