DatabaseRecordException extends Exception

A record could not be fetched from database, maybe it vanished meanwhile.

Table of Contents

Properties

$tableName  : string
$uid  : int

Methods

__construct()  : mixed
Constructor overwrites default constructor.
getTableName()  : string
Return table name
getUid()  : int
Return row uid

Properties

$tableName

protected string $tableName

Table name

Methods

__construct()

Constructor overwrites default constructor.

public __construct(string $message, int $code, Exception|null $previousException, string $tableName, int $uid) : mixed
Parameters
$message : string

Human readable error message

$code : int

Exception code timestamp

$previousException : Exception|null

Possible exception from database layer

$tableName : string

Table name query was working on

$uid : int

Table row uid

getTableName()

Return table name

public getTableName() : string
Return values
string

getUid()

Return row uid

public getUid() : int
Return values
int

        
On this page

Search results