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

Expanded class hierarchy of SchemaObjectExistsException

4 files declare their use of SchemaObjectExistsException
Schema.php in drupal/core/lib/Drupal/Core/Database/Schema.php
Definition of Drupal\Core\Database\Schema
Schema.php in drupal/core/lib/Drupal/Core/Database/Driver/mysql/Schema.php
Definition of Drupal\Core\Database\Driver\mysql\Schema
Schema.php in drupal/core/lib/Drupal/Core/Database/Driver/sqlite/Schema.php
Definition of Drupal\Core\Database\Driver\sqlite\Schema
Schema.php in drupal/core/lib/Drupal/Core/Database/Driver/pgsql/Schema.php
Definition of Drupal\Core\Database\Driver\pgsql\Schema

File

drupal/core/lib/Drupal/Core/Database/SchemaObjectExistsException.php, line 17
Definition of Drupal\Core\Database\SchemaObjectExistsException

Namespace

Drupal\Core\Database
View source
class SchemaObjectExistsException extends SchemaException implements DatabaseException {

}

Members