2010-03-05 19:36:48 +03:00
|
|
|
<?php
|
|
|
|
|
|
|
|
namespace Doctrine\ORM\Tools\Export;
|
|
|
|
|
2010-03-24 18:31:54 +03:00
|
|
|
use Doctrine\ORM\ORMException;
|
|
|
|
|
|
|
|
class ExportException extends ORMException
|
|
|
|
{
|
|
|
|
public static function invalidExporterDriverType($type)
|
|
|
|
{
|
2010-03-05 19:36:48 +03:00
|
|
|
return new self("The specified export driver '$type' does not exist");
|
|
|
|
}
|
|
|
|
|
2010-03-24 18:31:54 +03:00
|
|
|
public static function invalidMappingDriverType($type)
|
|
|
|
{
|
2010-03-05 19:36:48 +03:00
|
|
|
return new self("The mapping driver '$type' does not exist");
|
|
|
|
}
|
2011-01-23 22:25:59 +03:00
|
|
|
|
|
|
|
public static function attemptOverwriteExistingFile($file)
|
|
|
|
{
|
|
|
|
return new self("Attempting to overwrite an existing file '".$file."'.");
|
|
|
|
}
|
2010-03-05 19:36:48 +03:00
|
|
|
}
|