Version 1
[yaffs-website] / vendor / alchemy / zippy / src / Exception / TargetLocatorException.php
diff --git a/vendor/alchemy/zippy/src/Exception/TargetLocatorException.php b/vendor/alchemy/zippy/src/Exception/TargetLocatorException.php
new file mode 100644 (file)
index 0000000..720c9e7
--- /dev/null
@@ -0,0 +1,28 @@
+<?php
+
+/*
+ * This file is part of Zippy.
+ *
+ * (c) Alchemy <info@alchemy.fr>
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+namespace Alchemy\Zippy\Exception;
+
+class TargetLocatorException extends RuntimeException
+{
+    private $resource;
+
+    public function __construct($resource, $message, $code = 0, $previous = null)
+    {
+        $this->resource = $resource;
+        parent::__construct($message, $code, $previous);
+    }
+
+    public function getResource()
+    {
+        return $this->resource;
+    }
+}