class SchemaException

Same name in other branches
  1. 9 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

3 files declare their use of SchemaException
Schema.php in core/lib/Drupal/Core/Database/Driver/mysql/Schema.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.