exception.php

来自「Bug tracker, and reporter.」· PHP 代码 · 共 46 行

PHP
46
字号
<?php/** * Zend Framework * * LICENSE * * This source file is subject to version 1.0 of the Zend Framework * license, that is bundled with this package in the file LICENSE.txt, and * is available through the world-wide-web at the following URL: * http://framework.zend.com/license/new-bsd. If you did not receive * a copy of the Zend Framework license and are unable to obtain it * through the world-wide-web, please send a note to license@zend.com * so we can mail you a copy immediately. * * @package    Zend_Db * @subpackage Adapter * @copyright  Copyright (c) 2005-2008 Zend Technologies USA Inc. (http://www.zend.com) * @license    http://framework.zend.com/license/new-bsd     New BSD License *//** * Zend_Db_Adapter_Exception */require_once 'Zend/Db/Adapter/Exception.php';/** * Zend_Db_Adapter_Db2_Exception * * @package    Zend_Db * @subpackage Adapter * @copyright  Copyright (c) 2005-2008 Zend Technologies USA Inc. (http://www.zend.com) * @license    http://framework.zend.com/license/new-bsd     New BSD License * @author     Joscha Feth <jffeth@de.ibm.com> * @author     Salvador Ledezma <ledezma@us.ibm.com> */class Zend_Db_Adapter_Db2_Exception extends Zend_Db_Adapter_Exception{   protected $code = '00000';   protected $message = 'unknown exception';   function __construct($msg = 'unknown exception', $state = '00000') {       $this->message = $msg;       $this->code = $state;   }}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?