From a7e17cb70e9306f8887bd2b5ca1a37edcbe3ea0f Mon Sep 17 00:00:00 2001 From: Stefan Suhren Date: Mon, 11 May 2015 15:02:33 +0200 Subject: Let composer manage its own files --- .../Finder/Exception/AdapterFailureException.php | 46 ---------------------- 1 file changed, 46 deletions(-) delete mode 100644 Aufgabe06/vendor/symfony/finder/Symfony/Component/Finder/Exception/AdapterFailureException.php (limited to 'Aufgabe06/vendor/symfony/finder/Symfony/Component/Finder/Exception/AdapterFailureException.php') diff --git a/Aufgabe06/vendor/symfony/finder/Symfony/Component/Finder/Exception/AdapterFailureException.php b/Aufgabe06/vendor/symfony/finder/Symfony/Component/Finder/Exception/AdapterFailureException.php deleted file mode 100644 index 15fa221..0000000 --- a/Aufgabe06/vendor/symfony/finder/Symfony/Component/Finder/Exception/AdapterFailureException.php +++ /dev/null @@ -1,46 +0,0 @@ - - * - * For the full copyright and license information, please view the LICENSE - * file that was distributed with this source code. - */ - -namespace Symfony\Component\Finder\Exception; - -use Symfony\Component\Finder\Adapter\AdapterInterface; - -/** - * Base exception for all adapter failures. - * - * @author Jean-François Simon - */ -class AdapterFailureException extends \RuntimeException implements ExceptionInterface -{ - /** - * @var \Symfony\Component\Finder\Adapter\AdapterInterface - */ - private $adapter; - - /** - * @param AdapterInterface $adapter - * @param string|null $message - * @param \Exception|null $previous - */ - public function __construct(AdapterInterface $adapter, $message = null, \Exception $previous = null) - { - $this->adapter = $adapter; - parent::__construct($message ?: 'Search failed with "'.$adapter->getName().'" adapter.', $previous); - } - - /** - * {@inheritdoc} - */ - public function getAdapter() - { - return $this->adapter; - } -} -- cgit v1.2.3-70-g09d2