2006-04-13 20:37:28 +00:00
|
|
|
<?php
|
2006-05-24 22:33:48 +00:00
|
|
|
require_once(Doctrine::getPath().DIRECTORY_SEPARATOR."Exception.class.php");
|
2006-04-13 20:37:28 +00:00
|
|
|
/**
|
|
|
|
* thrown when user tries to get a foreign key object but the mapping is not done right
|
|
|
|
*/
|
|
|
|
class Doctrine_Mapping_Exception extends Doctrine_Exception {
|
2006-05-17 09:37:41 +00:00
|
|
|
public function __construct($message = "An error occured in the mapping logic.") {
|
|
|
|
parent::__construct($message,Doctrine::ERR_MAPPING);
|
2006-04-13 20:37:28 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
?>
|