class SchemaObjectExistsException
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.
Hierarchy
- class \Drupal\Core\Database\SchemaException extends \RuntimeException implements DatabaseException
- class \Drupal\Core\Database\SchemaObjectExistsException implements DatabaseException
File
- core/lib/Drupal/Core/Database/SchemaObjectExistsException.php, line 12
Namespace
Drupal\Core\DatabaseMembers
© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!Database!SchemaObjectExistsException.php/class/SchemaObjectExistsException/8.1.x