InvalidIndexDefinitionException extends StatementException

FinalYes

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.

Internal

not part of public core API.

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
Internal
Return values
StatementException
On this page

Search results