class SchemaObjectExistsException in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/lib/Drupal/Core/Database/SchemaObjectExistsException.php \Drupal\Core\Database\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 \Drupal\Core\Database\RuntimeException implements DatabaseException
- class \Drupal\Core\Database\SchemaObjectExistsException implements DatabaseException
Expanded class hierarchy of SchemaObjectExistsException
9 files declare their use of SchemaObjectExistsException
- DatabaseBackend.php in core/
lib/ Drupal/ Core/ Cache/ DatabaseBackend.php - Contains \Drupal\Core\Cache\DatabaseBackend.
- DatabaseCacheTagsChecksum.php in core/
lib/ Drupal/ Core/ Cache/ DatabaseCacheTagsChecksum.php - Contains \Drupal\Core\Cache\DatabaseCacheTagsChecksum.
- DatabaseStorage.php in core/
lib/ Drupal/ Core/ Config/ DatabaseStorage.php - Contains \Drupal\Core\Config\DatabaseStorage.
- DbImportCommand.php in core/
lib/ Drupal/ Core/ Command/ DbImportCommand.php - Contains \Drupal\Core\Command\DbImportCommand.
- MenuTreeStorage.php in core/
lib/ Drupal/ Core/ Menu/ MenuTreeStorage.php - Contains \Drupal\Core\Menu\MenuTreeStorage.
File
- core/
lib/ Drupal/ Core/ Database/ SchemaObjectExistsException.php, line 17 - Contains \Drupal\Core\Database\SchemaObjectExistsException.
Namespace
Drupal\Core\DatabaseView source
class SchemaObjectExistsException extends SchemaException implements DatabaseException {
}