Version 1
[yaffs-website] / web / core / lib / Drupal / Core / Database / SchemaObjectExistsException.php
diff --git a/web/core/lib/Drupal/Core/Database/SchemaObjectExistsException.php b/web/core/lib/Drupal/Core/Database/SchemaObjectExistsException.php
new file mode 100644 (file)
index 0000000..3390b17
--- /dev/null
@@ -0,0 +1,12 @@
+<?php
+
+namespace Drupal\Core\Database;
+
+/**
+ * Exception thrown if an object being created already exists.
+ *
+ * For example, this exception should be thrown whenever there is an attempt to
+ * create a new database table, field, or index that already exists in the
+ * database schema.
+ */
+class SchemaObjectExistsException extends SchemaException implements DatabaseException { }