From 30a2b0ea74c5baaf6e795e8ccdea5601841bf3ad Mon Sep 17 00:00:00 2001 From: zYne Date: Sat, 11 Nov 2006 19:14:02 +0000 Subject: [PATCH] Removed reference to deprecated constant --- lib/Doctrine/Table/Exception.php | 25 ++++++++++++++++++++++++- 1 file changed, 24 insertions(+), 1 deletion(-) diff --git a/lib/Doctrine/Table/Exception.php b/lib/Doctrine/Table/Exception.php index f5d11614e..1fdec4614 100644 --- a/lib/Doctrine/Table/Exception.php +++ b/lib/Doctrine/Table/Exception.php @@ -1,14 +1,37 @@ . + */ Doctrine::autoload('Doctrine_Exception'); /** * thrown when user tries to initialize a new instance of Doctrine_Table, * while there already exists an instance of that table + * + * @package Doctrine ORM + * @url www.phpdoctrine.com + * @license LGPL */ class Doctrine_Table_Exception extends Doctrine_Exception { public function __construct($message = "Couldn't initialize table. One instance of this table already exists. Always use Doctrine_Session::getTable(\$name) to get on instance of a Doctrine_Table.") { - parent::__construct($message,Doctrine::ERR_TABLE_INSTANCE); + parent::__construct($message); } }