Naming.class.php 396 Bytes
Newer Older
doctrine's avatar
doctrine committed
1
<?php
doctrine's avatar
doctrine committed
2
Doctrine::autoload('Doctrine_Exception');
doctrine's avatar
doctrine committed
3 4 5 6 7 8 9 10 11 12
/**
 * thrown when user defined Doctrine_Table is badly named
 */
class Doctrine_Naming_Exception extends Doctrine_Exception {
    public function __construct() {
        parent::__construct("Badly named Doctrine_Table. Each Doctrine_Table
                             must be in format [Name]Table.", Doctrine::ERR_NAMING);
    }
}
?>