Added a folder remotely
This commit is contained in:
parent
9963ce31dc
commit
1c98ae81e0
14
Doctrine/Table/Exception.php
Normal file
14
Doctrine/Table/Exception.php
Normal file
@ -0,0 +1,14 @@
|
||||
<?php
|
||||
require_once(Doctrine::getPath().DIRECTORY_SEPARATOR."Exception.php");
|
||||
/**
|
||||
* thrown when user tries to initialize a new instance of Doctrine_Table,
|
||||
* while there already exists an instance of that table
|
||||
*/
|
||||
class Doctrine_Table_Exception extends Doctrine_Exception {
|
||||
public function __construct() {
|
||||
parent::__construct("Couldn't initialize table. One instance of this
|
||||
tabke already exists. Always use Doctrine_Session::getTable(\$name)
|
||||
to get on instance of a Doctrine_Table.",Doctrine::ERR_TABLE_INSTANCE);
|
||||
}
|
||||
}
|
||||
?>
|
Loading…
x
Reference in New Issue
Block a user