Chris@0: Chris@0: * Marcello Duarte 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 Prophecy\Exception\Doubler; Chris@0: Chris@0: use Prophecy\Doubler\Generator\Node\ClassNode; Chris@0: Chris@0: class ClassCreatorException extends \RuntimeException implements DoublerException Chris@0: { Chris@0: private $node; Chris@0: Chris@0: public function __construct($message, ClassNode $node) Chris@0: { Chris@0: parent::__construct($message); Chris@0: Chris@0: $this->node = $node; Chris@0: } Chris@0: Chris@0: public function getClassNode() Chris@0: { Chris@0: return $this->node; Chris@0: } Chris@0: }