Version 1
[yaffs-website] / vendor / easyrdf / easyrdf / lib / EasyRdf / Http / Exception.php
diff --git a/vendor/easyrdf/easyrdf/lib/EasyRdf/Http/Exception.php b/vendor/easyrdf/easyrdf/lib/EasyRdf/Http/Exception.php
new file mode 100644 (file)
index 0000000..4e4c073
--- /dev/null
@@ -0,0 +1,18 @@
+<?php
+
+
+class EasyRdf_Http_Exception extends EasyRdf_Exception
+{
+    private $body;
+
+    public function __construct($message = "", $code = 0, Exception $previous = null, $body = '')
+    {
+        parent::__construct($message, $code, $previous);
+        $this->body = $body;
+    }
+
+    public function getBody()
+    {
+        return $this->body;
+    }
+}