Rajout de doctrine/orm
[zf2.biz/galerie.git] / vendor / doctrine / orm / lib / Doctrine / ORM / Tools / Export / ExportException.php
1 <?php
2
3 namespace Doctrine\ORM\Tools\Export;
4
5 use Doctrine\ORM\ORMException;
6
7 class ExportException extends ORMException
8 {
9     public static function invalidExporterDriverType($type)
10     {
11         return new self("The specified export driver '$type' does not exist");
12     }
13
14     public static function invalidMappingDriverType($type)
15     {
16         return new self("The mapping driver '$type' does not exist");
17     }
18
19     public static function attemptOverwriteExistingFile($file)
20     {
21         return new self("Attempting to overwrite an existing file '".$file."'.");
22     }
23 }