| 1 |
<?php |
| 2 |
|
| 3 |
class Symfony_Filesystem_Exception_FileNotFoundException extends Symfony_Filesystem_Exception_IOException |
| 4 |
{ |
| 5 |
public function __construct($message = null, $code = 0, Exception $previous = null, $path = null) |
| 6 |
{ |
| 7 |
if (null === $message) { |
| 8 |
if (null === $path) { |
| 9 |
$message = 'File could not be found.'; |
| 10 |
} else { |
| 11 |
$message = sprintf('File "%s" could not be found.', $path); |
| 12 |
} |
| 13 |
} |
| 14 |
|
| 15 |
parent::__construct($message, $code, $previous, $path); |
| 16 |
} |
| 17 |
} |
| 18 |
|