\Orpheus\SQLAdapter\ExceptionSQLException

The SQL exception class

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

Summary

Methods
Properties
Constants
__construct()
getAction()
getOriginal()
getReport()
getText()
__toString()
No public properties found
No constants found
No protected methods found
$original
$action
N/A
No private methods found
No private properties found
N/A

Properties

$original

$original : \PDOException

Original exception

Type

\PDOException

$action

$action : string

Action in progress while getting this exception

Type

string

Methods

__construct()

__construct(string  $message = null, string  $action = null, \PDOException  $original = null) 

Constructor

Parameters

string $message
string $action
\PDOException $original

getAction()

getAction() : string

Get the action

Returns

string

getOriginal()

getOriginal() : \Orpheus\SQLAdapter\Exception\PDOException

Get the original exception

Returns

\Orpheus\SQLAdapter\Exception\PDOException

getReport()

getReport() : string

Get the exception as report

Returns

string

getText()

getText() : string

Get the exception as report

Returns

string

__toString()

__toString() 

{@inheritDoc}