[2.0] Missing files from last commit.
This commit is contained in:
parent
df6ca602fb
commit
cda9c1babd
11
lib/Doctrine/Common/CommonException.php
Normal file
11
lib/Doctrine/Common/CommonException.php
Normal file
@ -0,0 +1,11 @@
|
||||
<?php
|
||||
|
||||
namespace Doctrine\Common;
|
||||
|
||||
/**
|
||||
* Base exception class for package Doctrine\Common
|
||||
* @author heinrich
|
||||
*
|
||||
*/
|
||||
class CommonException extends \Exception {
|
||||
}
|
15
lib/Doctrine/ORM/Proxy/ProxyException.php
Normal file
15
lib/Doctrine/ORM/Proxy/ProxyException.php
Normal 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");
|
||||
}
|
||||
|
||||
}
|
13
lib/Doctrine/ORM/Tools/Export/ExportException.php
Normal file
13
lib/Doctrine/ORM/Tools/Export/ExportException.php
Normal 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");
|
||||
}
|
||||
}
|
9
lib/Doctrine/ORM/Tools/ToolsException.php
Normal file
9
lib/Doctrine/ORM/Tools/ToolsException.php
Normal 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'!");
|
||||
}
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user