Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. SchemaObjectDoesNotExistException.php

class SchemaObjectDoesNotExistException

Exception thrown if an object being modified doesn't exist yet.

For example, this exception should be thrown whenever there is an attempt to modify a database table, field, or index that does not currently exist in the database schema.

Hierarchy

  • class \Drupal\Core\Database\SchemaException extends \Drupal\Core\Database\RuntimeException implements \Drupal\Core\Database\DatabaseException
    • class \Drupal\Core\Database\SchemaObjectDoesNotExistException extends \Drupal\Core\Database\SchemaException implements \Drupal\Core\Database\DatabaseException

Expanded class hierarchy of SchemaObjectDoesNotExistException

3 files declare their use of SchemaObjectDoesNotExistException
Schema.php in core/modules/pgsql/src/Driver/Database/pgsql/Schema.php
Schema.php in core/modules/sqlite/src/Driver/Database/sqlite/Schema.php
Schema.php in core/modules/mysql/src/Driver/Database/mysql/Schema.php

File

core/lib/Drupal/Core/Database/SchemaObjectDoesNotExistException.php, line 12

Namespace

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

}
RSS feed
Powered by Drupal