# worker/4.9.34/src/Symfony/Filesystem/Exception/FileNotFoundException.php

ManageWP Worker, version 4.9.34. 23 lines.

- Page: https://pluginprobe.com/plugins/worker/4.9.34/code/src/Symfony/Filesystem/Exception/FileNotFoundException.php
- Raw: https://pluginprobe.com/plugins/worker/4.9.34/raw/src/Symfony/Filesystem/Exception/FileNotFoundException.php
- Modified: 2026-05-11T12:38:04+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/worker/4.9.34/code/src/Symfony/Filesystem/Exception/FileNotFoundException.php#L10-L20`.

```php
<?php

class Symfony_Filesystem_Exception_FileNotFoundException extends Symfony_Filesystem_Exception_IOException
{
    /**
     * Note: Type hint removed from $previous parameter to fix PHP 8.4+ deprecation warning
     * about implicitly nullable parameters while maintaining backward compatibility with PHP 5.5+.
     * The nullable type syntax (?Exception) is not supported in PHP 5.5-7.0.
     */
    public function __construct($message = null, $code = 0, $previous = null, $path = null)
    {
        if (null === $message) {
            if (null === $path) {
                $message = 'File could not be found.';
            } else {
                $message = sprintf('File "%s" could not be found.', $path);
            }
        }

        parent::__construct($message, $code, $previous, $path);
    }
}

```
