Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
Public Member Functions | Protected Attributes
Zend_Db_Statement_Db2_Exception Class Reference
Inheritance diagram for Zend_Db_Statement_Db2_Exception:
Zend_Db_Statement_Exception Zend_Db_Exception Zend_Exception

Public Member Functions

 __construct ($msg='unknown exception', $state='00000')
 
- Public Member Functions inherited from Zend_Db_Statement_Exception
 hasChainedException ()
 
 getChainedException ()
 
- Public Member Functions inherited from Zend_Exception
 __construct ($msg='', $code=0, Exception $previous=null)
 
 __call ($method, array $args)
 
 __toString ()
 

Protected Attributes

 $code = '00000'
 
 $message = 'unknown exception'
 

Additional Inherited Members

- Protected Member Functions inherited from Zend_Exception
 _getPrevious ()
 

Detailed Description

Definition at line 35 of file Exception.php.

Constructor & Destructor Documentation

◆ __construct()

__construct (   $msg = 'unknown exception',
  $state = '00000' 
)
Parameters
string$msg
string$state

Definition at line 51 of file Exception.php.

52  {
53  $this->message = $msg;
54  $this->code = $state;
55  }

Field Documentation

◆ $code

$code = '00000'
protected

Definition at line 40 of file Exception.php.

◆ $message

$message = 'unknown exception'
protected

Definition at line 45 of file Exception.php.


The documentation for this class was generated from the following file: