<?php
/**
* @package DATA
*/
/**
* An exception thrown when a primary key is required for the
* operation requested.
*/
class DATA_PrimaryKeyNeeded extends DATA_IndexingStrategyException {
/**
* Default constructor.
* @param string $table The name of the table where the primary
* key is required.
*/
function __construct($table) {
parent::__construct("A primary key is needed in table '$table'.");
}
}
?>
|