Исключение FileNotFoundException
класс FileNotFoundException расширяет IOException
Класс исключения, выбрасываемый, когда файл не найден.
Методы
| __construct(string $message = null, int $code = 0, Exception $previous = null, string $path = null) | ||
| string | getPath() Возвращает связанный путь для исключения. | из IOException |
Подробности
__construct(string $message = null, int $code = 0, Exception $previous = null, string $path = null)
Параметры
| string | $message | |
| int | $code | |
| Exception | $previous | |
| string | $path |
string getPath()
Возвращает связанный путь для исключения.
Значение, возвращаемое функцией
| string | Путь |
© 2004–2017 Fabien Potencier
Licensed under the MIT License.
https://api.symfony.com/4.1/Symfony/Component/Filesystem/Exception/FileNotFoundException.html