1
0
mirror of synced 2024-12-15 07:36:03 +03:00
doctrine2/lib/Doctrine/Table/Exception.php

15 lines
597 B
PHP
Raw Normal View History

2006-05-30 13:04:54 +04:00
<?php
2006-05-30 22:43:36 +04:00
Doctrine::autoload('Doctrine_Exception');
2006-05-30 13:04:54 +04:00
/**
* thrown when user tries to initialize a new instance of Doctrine_Table,
2006-05-30 13:04:54 +04:00
* while there already exists an instance of that table
*/
class Doctrine_Table_Exception extends Doctrine_Exception {
public function __construct($message = "Couldn't initialize table. One instance of this
2006-09-03 23:20:02 +04:00
table already exists. Always use Doctrine_Session::getTable(\$name)
to get on instance of a Doctrine_Table.") {
parent::__construct($message,Doctrine::ERR_TABLE_INSTANCE);
2006-05-30 13:04:54 +04:00
}
}