summaryrefslogtreecommitdiffstats
path: root/vendor/maennchen/zipstream-php/src/Exception/FileNotFoundException.php
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--vendor/maennchen/zipstream-php/src/Exception/FileNotFoundException.php23
1 files changed, 23 insertions, 0 deletions
diff --git a/vendor/maennchen/zipstream-php/src/Exception/FileNotFoundException.php b/vendor/maennchen/zipstream-php/src/Exception/FileNotFoundException.php
new file mode 100644
index 0000000..eb82001
--- /dev/null
+++ b/vendor/maennchen/zipstream-php/src/Exception/FileNotFoundException.php
@@ -0,0 +1,23 @@
+<?php
+
+declare(strict_types=1);
+
+namespace ZipStream\Exception;
+
+use ZipStream\Exception;
+
+/**
+ * This Exception gets invoked if a file wasn't found
+ */
+class FileNotFoundException extends Exception
+{
+ /**
+ * Constructor of the Exception
+ *
+ * @param String $path - The path which wasn't found
+ */
+ public function __construct(string $path)
+ {
+ parent::__construct("The file with the path $path wasn't found.");
+ }
+}