Rajout de doctrine/orm
[zf2.biz/application_blanche.git] / vendor / doctrine / orm / lib / Doctrine / ORM / Tools / Export / ExportException.php
diff --git a/vendor/doctrine/orm/lib/Doctrine/ORM/Tools/Export/ExportException.php b/vendor/doctrine/orm/lib/Doctrine/ORM/Tools/Export/ExportException.php
new file mode 100644 (file)
index 0000000..5ba8bd2
--- /dev/null
@@ -0,0 +1,23 @@
+<?php
+
+namespace Doctrine\ORM\Tools\Export;
+
+use Doctrine\ORM\ORMException;
+
+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");
+    }
+
+    public static function attemptOverwriteExistingFile($file)
+    {
+        return new self("Attempting to overwrite an existing file '".$file."'.");
+    }
+}
\ No newline at end of file