2006-05-30 12:59:33 +04:00
|
|
|
<?php
|
|
|
|
Doctrine::autoload("Doctrine_Exception");
|
|
|
|
/**
|
|
|
|
* thrown when user tries to get a foreign key object but the mapping is not done right
|
|
|
|
*/
|
|
|
|
class Doctrine_Mapping_Exception extends Doctrine_Exception {
|
|
|
|
public function __construct($message = "An error occured in the mapping logic.") {
|
|
|
|
parent::__construct($message,Doctrine::ERR_MAPPING);
|
|
|
|
}
|
|
|
|
}
|
2006-09-04 02:46:30 +04:00
|
|
|
|