. */ namespace Doctrine\ORM\Proxy; /** * ORM Proxy Exception * * @license http://www.opensource.org/licenses/lgpl-license.php LGPL * @link www.doctrine-project.com * @since 1.0 * @version $Revision$ * @author Benjamin Eberlei */ class ProxyException extends \Doctrine\ORM\ORMException { public static function proxyDirectoryRequired() { return new self("You must configure a proxy directory. See docs for details"); } public static function proxyNamespaceRequired() { return new self("You must configure a proxy namespace. See docs for details"); } public static function notProxyClass($className, $proxyNamespace) { return new self(sprintf( "The class %s is not part of the proxy namespace %s", $className, $proxyNamespace )); } }