1
0
mirror of synced 2025-01-31 04:21:44 +03:00
doctrine2/classes/Exception/Naming.class.php
doctrine 86b319e618 Improved validation API
require_once bug fix
2006-05-24 22:33:48 +00:00

13 lines
431 B
PHP

<?php
require_once(Doctrine::getPath().DIRECTORY_SEPARATOR."Exception.class.php");
/**
* 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);
}
}
?>