web/lib/Zend/Db/Adapter/Db2/Exception.php
changeset 807 877f952ae2bd
parent 207 621fa6caec0c
child 1230 68c69c656a2c
equal deleted inserted replaced
805:5e7a0fedabdf 807:877f952ae2bd
    13  * to license@zend.com so we can send you a copy immediately.
    13  * to license@zend.com so we can send you a copy immediately.
    14  *
    14  *
    15  * @category   Zend
    15  * @category   Zend
    16  * @package    Zend_Db
    16  * @package    Zend_Db
    17  * @subpackage Adapter
    17  * @subpackage Adapter
    18  * @copyright  Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
    18  * @copyright  Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
    19  * @license    http://framework.zend.com/license/new-bsd     New BSD License
    19  * @license    http://framework.zend.com/license/new-bsd     New BSD License
    20  * @version    $Id: Exception.php 20096 2010-01-06 02:05:09Z bkarwin $
    20  * @version    $Id: Exception.php 24593 2012-01-05 20:35:02Z matthew $
    21  */
    21  */
    22 
    22 
    23 /**
    23 /**
    24  * Zend_Db_Adapter_Exception
    24  * Zend_Db_Adapter_Exception
    25  */
    25  */
    28 /**
    28 /**
    29  * Zend_Db_Adapter_Db2_Exception
    29  * Zend_Db_Adapter_Db2_Exception
    30  *
    30  *
    31  * @package    Zend_Db
    31  * @package    Zend_Db
    32  * @subpackage Adapter
    32  * @subpackage Adapter
    33  * @copyright  Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
    33  * @copyright  Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
    34  * @license    http://framework.zend.com/license/new-bsd     New BSD License
    34  * @license    http://framework.zend.com/license/new-bsd     New BSD License
    35  */
    35  */
    36 class Zend_Db_Adapter_Db2_Exception extends Zend_Db_Adapter_Exception
    36 class Zend_Db_Adapter_Db2_Exception extends Zend_Db_Adapter_Exception
    37 {
    37 {
    38    protected $code = '00000';
    38    protected $code = '00000';
    39    protected $message = 'unknown exception';
    39    protected $message = 'unknown exception';
    40 
    40 
    41    function __construct($message = 'unknown exception', $code = '00000', Exception $e = null) 
    41    function __construct($message = 'unknown exception', $code = '00000', Exception $e = null)
    42    {
    42    {
    43        parent::__construct($message, $code, $e);
    43        parent::__construct($message, $code, $e);
    44    }
    44    }
    45 }
    45 }