1
0
mirror of synced 2025-03-04 20:03:21 +03:00

[2.0] Missing files from last commit.

This commit is contained in:
romanb 2010-03-05 16:36:48 +00:00
parent df6ca602fb
commit cda9c1babd
4 changed files with 48 additions and 0 deletions

View File

@ -0,0 +1,11 @@
<?php
namespace Doctrine\Common;
/**
* Base exception class for package Doctrine\Common
* @author heinrich
*
*/
class CommonException extends \Exception {
}

View File

@ -0,0 +1,15 @@
<?php
namespace Doctrine\ORM\Proxy;
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");
}
}

View File

@ -0,0 +1,13 @@
<?php
namespace Doctrine\ORM\Tools\Export;
class ExportException extends ORMException {
public static function invalidExporterDriverType($type) {
return new self("The specified export driver '$type' does not exist");
}
public static function invalidMappingDriverType($type) {
return new self("The mapping driver '$type' does not exist");
}
}

View File

@ -0,0 +1,9 @@
<?php
namespace Doctrine\ORM\Tools;
class ToolsException extends ORMException {
public static function couldNotMapDoctrine1Type($type) {
return new self("Could not map doctrine 1 type '$type'!");
}
}