class SchemaObjectDoesNotExistException in Drupal 8
Same name and namespace in other branches
- 9 core/lib/Drupal/Core/Database/SchemaObjectDoesNotExistException.php \Drupal\Core\Database\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 DatabaseException
- class \Drupal\Core\Database\SchemaObjectDoesNotExistException implements DatabaseException
Expanded class hierarchy of SchemaObjectDoesNotExistException
4 files declare their use of SchemaObjectDoesNotExistException
- Schema.php in core/
lib/ Drupal/ Core/ Database/ Driver/ sqlite/ Schema.php - Schema.php in core/
lib/ Drupal/ Core/ Database/ Driver/ pgsql/ Schema.php - Schema.php in core/
lib/ Drupal/ Core/ Database/ Driver/ mysql/ Schema.php - SchemaTest.php in core/
tests/ Drupal/ KernelTests/ Core/ Database/ SchemaTest.php
File
- core/
lib/ Drupal/ Core/ Database/ SchemaObjectDoesNotExistException.php, line 12
Namespace
Drupal\Core\DatabaseView source
class SchemaObjectDoesNotExistException extends SchemaException implements DatabaseException {
}