diff options
| author | Christian Weiske <cweiske@cweiske.de> | 2012-04-03 20:15:57 +0200 |
|---|---|---|
| committer | Christian Weiske <cweiske@cweiske.de> | 2012-04-03 20:15:57 +0200 |
| commit | 2b4b34a76f42841e964a549fc64c02ba4f60a3f4 (patch) | |
| tree | c83a973cae8d45e01384dabe4ad33dc40c09a5d1 /src/phorkie/Exception/NotFound.php | |
| parent | 7dcd592544ae0b55d0e205ff83631067a0d0aa6b (diff) | |
| download | phorkie-2b4b34a76f42841e964a549fc64c02ba4f60a3f4.tar.gz phorkie-2b4b34a76f42841e964a549fc64c02ba4f60a3f4.zip | |
rename Phorkie to phorkie (lowercase)
Diffstat (limited to 'src/phorkie/Exception/NotFound.php')
| -rw-r--r-- | src/phorkie/Exception/NotFound.php | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/src/phorkie/Exception/NotFound.php b/src/phorkie/Exception/NotFound.php new file mode 100644 index 0000000..450b9f9 --- /dev/null +++ b/src/phorkie/Exception/NotFound.php @@ -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; + } +} + +?> |
