class SchemaException

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

Base exception for Schema-related errors.

Hierarchy

Expanded class hierarchy of SchemaException

6 files declare their use of SchemaException
DriverSpecificSchemaTestBase.php in core/tests/Drupal/KernelTests/Core/Database/DriverSpecificSchemaTestBase.php
Schema.php in core/modules/mysql/src/Driver/Database/mysql/Schema.php
SchemaTableColumnSizeTooLargeException.php in core/lib/Drupal/Core/Database/Exception/SchemaTableColumnSizeTooLargeException.php
SchemaTableKeyTooLargeException.php in core/lib/Drupal/Core/Database/Exception/SchemaTableKeyTooLargeException.php
SchemaTest.php in core/modules/mysql/tests/src/Kernel/mysql/SchemaTest.php

... See full list

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.