4 * This file is part of the Symfony package.
6 * (c) Fabien Potencier <fabien@symfony.com>
8 * For the full copyright and license information, please view the LICENSE
9 * file that was distributed with this source code.
12 namespace Symfony\Component\Debug\Exception;
15 * Undefined Function Exception.
17 * @author Konstanton Myakshin <koc-dp@yandex.ru>
19 class UndefinedFunctionException extends FatalErrorException
21 public function __construct($message, \ErrorException $previous)
26 $previous->getSeverity(),
29 $previous->getPrevious()
31 $this->setTrace($previous->getTrace());