Mercurial > hg > isophonics-drupal-site
annotate vendor/easyrdf/easyrdf/lib/EasyRdf/Http/Exception.php @ 9:1fc0ff908d1f
Add another data file
author | Chris Cannam |
---|---|
date | Mon, 05 Feb 2018 12:34:32 +0000 |
parents | 4c8ae668cc8c |
children |
rev | line source |
---|---|
Chris@0 | 1 <?php |
Chris@0 | 2 |
Chris@0 | 3 |
Chris@0 | 4 class EasyRdf_Http_Exception extends EasyRdf_Exception |
Chris@0 | 5 { |
Chris@0 | 6 private $body; |
Chris@0 | 7 |
Chris@0 | 8 public function __construct($message = "", $code = 0, Exception $previous = null, $body = '') |
Chris@0 | 9 { |
Chris@0 | 10 parent::__construct($message, $code, $previous); |
Chris@0 | 11 $this->body = $body; |
Chris@0 | 12 } |
Chris@0 | 13 |
Chris@0 | 14 public function getBody() |
Chris@0 | 15 { |
Chris@0 | 16 return $this->body; |
Chris@0 | 17 } |
Chris@0 | 18 } |