use repository and file classes
[phorkie.git] / src / Phorkie / Exception / NotFound.php
diff --git a/src/Phorkie/Exception/NotFound.php b/src/Phorkie/Exception/NotFound.php
new file mode 100644 (file)
index 0000000..a62d1f1
--- /dev/null
@@ -0,0 +1,16 @@
+<?php
+namespace Phorkie;
+
+/**
+ * Something could not be found
+ */
+class Exception_NotFound extends Exception
+{
+    public function __construct($msg = '', $code = 0)
+    {
+        parent::__construct($msg, $code);
+        $this->httpStatusCode = 404;
+    }
+}
+
+?>