Updated Drupal to 8.6. This goes with the following updates because it's possible...
[yaffs-website] / vendor / symfony / debug / Exception / ClassNotFoundException.php
1 <?php
2
3 /*
4  * This file is part of the Symfony package.
5  *
6  * (c) Fabien Potencier <fabien@symfony.com>
7  *
8  * For the full copyright and license information, please view the LICENSE
9  * file that was distributed with this source code.
10  */
11
12 namespace Symfony\Component\Debug\Exception;
13
14 /**
15  * Class (or Trait or Interface) Not Found Exception.
16  *
17  * @author Konstanton Myakshin <koc-dp@yandex.ru>
18  */
19 class ClassNotFoundException extends FatalErrorException
20 {
21     public function __construct($message, \ErrorException $previous)
22     {
23         parent::__construct(
24             $message,
25             $previous->getCode(),
26             $previous->getSeverity(),
27             $previous->getFile(),
28             $previous->getLine(),
29             null,
30             true,
31             null,
32             $previous->getPrevious()
33         );
34         $this->setTrace($previous->getTrace());
35     }
36 }