class Doctrine_Table_Exception extends Doctrine_Exception (View source)

thrown when user tries to initialize a new instance of Doctrine_Table, while there already exists an instance of that table

Properties

static protected array $_errorMessages from Doctrine_Exception

Methods

string
errorMessage(int|array $value = null)

Return a textual error message for a Doctrine error code

__construct($message = "Couldn't initialize table. One instance of this\n table already exists. Always use Doctrine_Session::getTable(\$name)\n to get on instance of a Doctrine_Table.")

No description

Details

string errorMessage(int|array $value = null)

Return a textual error message for a Doctrine error code

Parameters

int|array $value integer error code, null to get the current error code-message map, or an array with a new error code-message map

Return Value

string error message

__construct($message = "Couldn't initialize table. One instance of this\n table already exists. Always use Doctrine_Session::getTable(\$name)\n to get on instance of a Doctrine_Table.")

Parameters

$message