1
0
mirror of synced 2024-12-15 15:46:02 +03:00
doctrine2/lib/Doctrine/ORM/Tools/Export/ExportException.php

23 lines
574 B
PHP
Raw Normal View History

2010-03-05 19:36:48 +03:00
<?php
namespace Doctrine\ORM\Tools\Export;
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");
}
public static function invalidMappingDriverType($type)
{
2010-03-05 19:36:48 +03:00
return new self("The mapping driver '$type' does not exist");
}
public static function attemptOverwriteExistingFile($file)
{
return new self("Attempting to overwrite an existing file '".$file."'.");
}
2010-03-05 19:36:48 +03:00
}