Zend_Db_Adapter_Oracle_Exception

category Zend
package Zend_Db
subpackage Adapter
copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
license New BSD License
inherited_from \Zend_Db_Adapter_Exception

 Methods

Overloading

__call(string $method, array $args) : mixed
Inherited

For PHP < 5.3.0, provides access to the getPrevious() method.

Parameters

$method

string

$args

array

Returns

mixed

__construct()

__construct($error = null, $code = 0
inherited_from \Zend_Db_Adapter_Exception::__construct()

Parameters

$error

$code

Construct the exception

__construct(string $msg = '', integer $code = 0, \Exception $previous = null) : void
Inherited

Parameters

$msg

string

$code

integer

$previous

\Exception

String representation of the exception

__toString() : string
Inherited

Returns

string

getChainedException()

getChainedException() 
Inherited

hasChainedException()

hasChainedException() 
Inherited

Returns previous Exception

_getPrevious() : \Exception | null
Inherited

Returns

\Exceptionnull

 Properties

 

$_chainedException

$_chainedException 

Default

null
 

$code

$code 

Default

0
 

$message

$message 

Default

'Unknown exception'
 

$_previous

$_previous : null | \Exception

Default

null