PHP 8.1.33
Preview: CDbException.php Size: 942 B
/home/jambtst2015/www/framework/db/CDbException.php

<?php
/**
 * CDbException class file.
 *
 * @author Qiang Xue <qiang.xue@gmail.com>
 * @link http://www.yiiframework.com/
 * @copyright 2008-2013 Yii Software LLC
 * @license http://www.yiiframework.com/license/
 */

/**
 * CDbException represents an exception that is caused by some DB-related operations.
 *
 * @author Qiang Xue <qiang.xue@gmail.com>
 * @package system.db
 * @since 1.0
 */
class CDbException extends CException
{
	/**
	 * @var mixed the error info provided by a PDO exception. This is the same as returned
	 * by {@link http://www.php.net/manual/en/pdo.errorinfo.php PDO::errorInfo}.
	 * @since 1.1.4
	 */
	public $errorInfo;

	/**
	 * Constructor.
	 * @param string $message PDO error message
	 * @param integer $code PDO error code
	 * @param mixed $errorInfo PDO error info
	 */
	public function __construct($message,$code=0,$errorInfo=null)
	{
		$this->errorInfo=$errorInfo;
		parent::__construct($message,$code);
	}
}

Directory Contents

Dirs: 2 × Files: 7

Name Size Perms Modified Actions
ar DIR
- drwxr-xr-x 2025-10-10 09:17:43
Edit Download
schema DIR
- drwxr-xr-x 2025-10-09 03:15:53
Edit Download
61.78 KB lrw-r--r-- 2024-11-22 17:53:15
Edit Download
26.62 KB lrw-r--r-- 2024-11-22 17:53:15
Edit Download
7.01 KB lrw-r--r-- 2024-11-22 17:53:15
Edit Download
942 B lrw-r--r-- 2024-11-22 17:53:15
Edit Download
18.15 KB lrw-r--r-- 2024-11-22 17:53:15
Edit Download
2.66 KB lrw-r--r-- 2024-11-22 17:53:15
Edit Download
86.90 KB lrw-r--r-- 2025-11-04 00:19:58
Edit Download

If ZipArchive is unavailable, a .tar will be created (no compression).