Db/Statement/Db2/Exception.php

Show: PublicProtectedPrivateinherited
Table of Contents
Zend Framework

LICENSE

This source file is subject to the new BSD license that is bundled with this package in the file LICENSE.txt. It is also available through the world-wide-web at this URL: http://framework.zend.com/license/new-bsd If you did not receive a copy of the license and are unable to obtain it through the world-wide-web, please send an email to license@zend.com so we can send you a copy immediately.

Category
Zend  
Copyright
Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)  
License
New BSD License  
Package
Zend_Db  
Subpackage
Statement  
Version
$Id: Exception.php 24593 2012-01-05 20:35:02Z matthew $  

\Zend_Db_Statement_Db2_Exception

Package: Zend\Db\Statement
Zend_Db_Statement_Exception
Parent(s)
\Zend_Db_Statement_Exception < \Zend_Db_Exception < \Zend_Exception < \Exception
Copyright
Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)  
License
New BSD License  

Properties

>VPropertyprivatenull|\Exception $_previous = null
Default valuenullDetails
Type
null | \Exception
Inherited_from
\Zend_Exception::$$_previous  
Inherited_from
\Zend_Db_Exception::$$_previous  
Inherited_from
\Zend_Db_Statement_Exception::$$_previous  
>VPropertyprotectedstring $code = '00000'
Default value'00000'Details
Type
string
>VPropertyprotectedstring $message = 'unknown exception'
Default value'unknown exception'Details
Type
string

Methods

methodpublic__call(string $method, array $args) : mixed

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

Parameters
NameTypeDescription
$methodstring
$argsarray
Returns
TypeDescription
mixed
methodpublic__construct(string $msg = 'unknown exception', string $state = '00000') : void

Construct the exception

Parameters
NameTypeDescription
$msgstring
$statestring
methodpublic__toString() : string
Returns
TypeDescription
string
methodprotected_getPrevious() : \Exception | null
Returns
TypeDescription
\Exception | null
methodpublicgetChainedException() : \Exception | null
Returns
TypeDescription
\Exception | null
methodpublichasChainedException() : bool
inherited

Check if this general exception has a specific database driver specific exception nested inside.

Inherited from: \Zend_Db_Statement_Exception::hasChainedException()
Returns
TypeDescription
bool
Documentation was generated by phpDocumentor 2.0.0a12.