<?php require_once(Doctrine::getPath().DIRECTORY_SEPARATOR."Doctrine".DIRECTORY_SEPARATOR."Exception.php"); class Doctrine_Query_Exception extends Doctrine_Exception { }