1
0
mirror of synced 2025-01-31 12:32:59 +03:00
doctrine2/classes/Exception/Mapping.class.php

12 lines
412 B
PHP
Raw Normal View History

2006-04-13 20:37:28 +00:00
<?php
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 {
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
}
}
?>