. */ /** * Doctrine_Query_Exception * * @package Doctrine * @subpackage Query * @license http://www.opensource.org/licenses/lgpl-license.php LGPL * @link www.phpdoctrine.org * @since 1.0 * @version $Revision$ * @author Konsta Vesterinen */ class Doctrine_Query_Exception extends Doctrine_Exception { public static function nonUniqueResult() { return new self("The query contains more than one result."); } }