SchemaObjectExistsException.php

Same filename in other branches
  1. 9 core/lib/Drupal/Core/Database/SchemaObjectExistsException.php
  2. 10 core/lib/Drupal/Core/Database/SchemaObjectExistsException.php
  3. 11.x core/lib/Drupal/Core/Database/SchemaObjectExistsException.php

Namespace

Drupal\Core\Database

File

core/lib/Drupal/Core/Database/SchemaObjectExistsException.php

View source
<?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 {

}

Classes

Title Deprecated Summary
SchemaObjectExistsException Exception thrown if an object being created already exists.

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.