<?phpDoctrine::autoload("Doctrine_Exception");/** * thrown when user tries to get a foreign key object but the mapping is not done right */classDoctrine_Mapping_ExceptionextendsDoctrine_Exception{publicfunction__construct($message="An error occured in the mapping logic."){parent::__construct($message,Doctrine::ERR_MAPPING);}}