Chris@0: Chris@0: * Chris@0: * For the full copyright and license information, please view the LICENSE Chris@0: * file that was distributed with this source code. Chris@0: */ Chris@0: Chris@0: namespace Symfony\Component\Debug\Exception; Chris@0: Chris@0: /** Chris@0: * Class (or Trait or Interface) Not Found Exception. Chris@0: * Chris@0: * @author Konstanton Myakshin Chris@0: */ Chris@0: class ClassNotFoundException extends FatalErrorException Chris@0: { Chris@0: public function __construct($message, \ErrorException $previous) Chris@0: { Chris@0: parent::__construct( Chris@0: $message, Chris@0: $previous->getCode(), Chris@0: $previous->getSeverity(), Chris@0: $previous->getFile(), Chris@0: $previous->getLine(), Chris@16: null, Chris@16: true, Chris@16: null, Chris@0: $previous->getPrevious() Chris@0: ); Chris@0: $this->setTrace($previous->getTrace()); Chris@0: } Chris@0: }