Zend_Db_Adapter_Db2_Exception

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($message = 'unknown exception', $code = '00000', \Exception $e = null
inherited_from \Zend_Db_Adapter_Exception::__construct()

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

hasChainedException()

hasChainedException() 
Inherited

Returns previous Exception

_getPrevious() : \Exception | null
Inherited

Returns

\Exceptionnull

 Properties

 

$_chainedException

$_chainedException 

Default

null
 

$code

$code 

Default

'00000'
 

$message

$message 

Default

'unknown exception'
 

$_previous

$_previous : null | \Exception

Default

null