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 Method Exception.
17 * @author Grégoire Pineau <lyrixx@lyrixx.info>
19 class UndefinedMethodException extends FatalErrorException
21 public function __construct($message, \ErrorException $previous)
26 $previous->getSeverity(),
32 $previous->getPrevious()
34 $this->setTrace($previous->getTrace());