48d5f94cda
Makes Finder::in() throw a DirectoryNotFoundException instead of an InvalidArgumentException if one of the directories is not found. This behavior is more consistent with the AccessDeniedException for files which are unreadable due to insufficient permissions. To keep BC, the new exception class inherits from InvalidArgumentException.
20 lines
419 B
PHP
20 lines
419 B
PHP
<?php
|
|
|
|
/*
|
|
* This file is part of the Symfony package.
|
|
*
|
|
* (c) Fabien Potencier <fabien@symfony.com>
|
|
*
|
|
* For the full copyright and license information, please view the LICENSE
|
|
* file that was distributed with this source code.
|
|
*/
|
|
|
|
namespace Symfony\Component\Finder\Exception;
|
|
|
|
/**
|
|
* @author Andreas Erhard <andreas.erhard@i-med.ac.at>
|
|
*/
|
|
class DirectoryNotFoundException extends \InvalidArgumentException
|
|
{
|
|
}
|