InvalidIndexDefinitionException

final class \TYPO3\CMS\Core\Database\Schema\Exception\InvalidIndexDefinitionException

Extends
StatementException

Thrown when a table definition indexes a column that none of the definitions for that table declares - typically a typo, or a column that was removed while the index over it was kept.

Extends StatementException so that consumers reporting invalid table definitions to the user, such as the install tool, keep doing so for this case.

Table of Contents

Methods

forUnknownColumn()  : self
semanticError()  : StatementException
sqlError()  : StatementException
syntaxError()  : StatementException

Methods

forUnknownColumn()

public static forUnknownColumn(string $tableName, string $indexName, string $columnName) : self

Parameters

$tableName : string
$indexName : string
$columnName : string

Return values

self

semanticError()

public static semanticError(string $message[, Exception|null $previous = null ]) : StatementException

Parameters

$message : string
$previous : Exception|null = null

Return values

StatementException
On this page