diff options
Diffstat (limited to 'lib/Minz/FileNotExistException.php')
| -rw-r--r-- | lib/Minz/FileNotExistException.php | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/Minz/FileNotExistException.php b/lib/Minz/FileNotExistException.php new file mode 100644 index 000000000..f8dfbdf66 --- /dev/null +++ b/lib/Minz/FileNotExistException.php @@ -0,0 +1,8 @@ +<?php +class Minz_FileNotExistException extends Minz_Exception { + public function __construct ($file_name, $code = self::ERROR) { + $message = 'File not found: `' . $file_name.'`'; + + parent::__construct ($message, $code); + } +} |
