3 namespace Doctrine\ORM\Tools\Export;
5 use Doctrine\ORM\ORMException;
7 class ExportException extends ORMException
9 public static function invalidExporterDriverType($type)
11 return new self("The specified export driver '$type' does not exist");
14 public static function invalidMappingDriverType($type)
16 return new self("The mapping driver '$type' does not exist");
19 public static function attemptOverwriteExistingFile($file)
21 return new self("Attempting to overwrite an existing file '".$file."'.");