TransactionRecursionException
extends TransactionQueryException
in package
implements
TransactionException
Exception thrown when an attempt is made to start a transaction from within an existing transaction
Table of Contents
Interfaces
- TransactionException
- Just an interface to match both query and recursion type transaction errors.
Properties
Methods
- create() : static
- setParams() : static
- setQuery() : static
- setState() : static
- getSubClass() : string
Properties
$params
public
array<string|int, mixed>
$params
= []
$query
public
string
$query
= ''
$state
public
string
$state
= '25001'
Methods
create()
public
static create(PDOException $exception) : static
Parameters
- $exception : PDOException
Return values
staticsetParams()
public
setParams(array<string|int, mixed> $params) : static
Parameters
- $params : array<string|int, mixed>
Return values
staticsetQuery()
public
setQuery(string $query) : static
Parameters
- $query : string
Return values
staticsetState()
public
setState(string|int $state) : static
Parameters
- $state : string|int
Return values
staticgetSubClass()
protected
static getSubClass(PDOException $exception) : string
Parameters
- $exception : PDOException
Return values
string —A subclass of QueryException