class SchemaException

Same name and namespace in other branches
  1. 8.9.x core/lib/Drupal/Core/Database/SchemaException.php \Drupal\Core\Database\SchemaException
  2. 10 core/lib/Drupal/Core/Database/SchemaException.php \Drupal\Core\Database\SchemaException
  3. 11.x core/lib/Drupal/Core/Database/SchemaException.php \Drupal\Core\Database\SchemaException

Base exception for Schema-related errors.

Hierarchy

Expanded class hierarchy of SchemaException

4 files declare their use of SchemaException
Schema.php in core/modules/mysql/src/Driver/Database/mysql/Schema.php
SchemaTest.php in core/modules/mysql/tests/src/Kernel/mysql/SchemaTest.php
SchemaTest.php in core/tests/Drupal/KernelTests/Core/Database/SchemaTest.php
SqlContentEntityStorage.php in core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorage.php

File

core/lib/Drupal/Core/Database/SchemaException.php, line 8

Namespace

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

}

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