/** * Constructor * * @param string $message * @param string $xml */ public function __construct($message = null, $xml = null) { parent::__construct($message); $this->_xml = (string) $xml; }
/** * Constructor * * @param string $message Error message * @param integer $code Error code * @param string $url URL accessed during failure */ public function __construct($message = null, $code = null, $url = null) { parent::__construct($message, $code); $this->_url = (string) $url; }