Differences Between: [Versions 401 and 402]
1 <?php 2 3 namespace PhpXmlRpc\Exception; 4 5 /** 6 * To be used for all errors related to parsing HTTP requests and responses 7 */ 8 class HttpException extends TransportException 9 { 10 protected $statusCode; 11 12 public function __construct($message = "", $code = 0, $previous = null, $statusCode = null) 13 { 14 parent::__construct($message, $code, $previous); 15 $this->statusCode = $statusCode; 16 } 17 18 public function statusCode() 19 { 20 return $this->statusCode; 21 } 22 }
title
Description
Body
title
Description
Body
title
Description
Body
title
Body