Orpheus

SqlException extends RuntimeException
in package

The SQL exception class

This exception is thrown when an occurred caused by the SQL DBMS (or DBMS tools).

Table of Contents

Properties

$action  : string|null
Action in progress while getting this exception

Methods

__construct()  : mixed
Constructor
__toString()  : string
getAction()  : string|null
Get the action
getReport()  : string
Get the exception as report
getText()  : string
Get the exception as report

Properties

$action

Action in progress while getting this exception

protected string|null $action

Methods

__construct()

Constructor

public __construct([string|null $message = null ][, string|null $action = null ][, PDOException|null $original = null ]) : mixed
Parameters
$message : string|null = null
$action : string|null = null
$original : PDOException|null = null

__toString()

public __toString() : string
Return values
string

getAction()

Get the action

public getAction() : string|null
Return values
string|null

getReport()

Get the exception as report

public getReport() : string
Return values
string

getText()

Get the exception as report

public getText() : string
Return values
string

							
On this page

Search results