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_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($message = '', $code = 0, \Exception $e = null

Parameters

$message

$code

$e

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() 

hasChainedException()

hasChainedException() 

Returns previous Exception

_getPrevious() : \Exception | null
Inherited

Returns

\Exceptionnull

 Properties

 

$_chainedException

$_chainedException 

Default

null
 

$_previous

$_previous : null | \Exception

Default

null