/**
* Marks all entries with given $id as history entries.
*
* This method is used by Handler::locationMoved(). Each row is separately historized
* because future publishing needs to be able to take over history entries safely.
*
* @param mixed $id
* @param mixed $link
*/
public function historizeId($id, $link)
{
try {
$this->innerGateway->historizeId($id, $link);
} catch (DBALException $e) {
throw new \RuntimeException('Database error', 0, $e);
} catch (PDOException $e) {
throw new \RuntimeException('Database error', 0, $e);
}
}