PHP 8.1.33
Preview: CHttpException.php Size: 990 B
/home/jambtst2015/www/framework/base/CHttpException.php

<?php
/**
 * CHttpException 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/
 */

/**
 * CHttpException represents an exception caused by invalid operations of end-users.
 *
 * The HTTP error code can be obtained via {@link statusCode}.
 * Error handlers may use this status code to decide how to format the error page.
 *
 * @author Qiang Xue <qiang.xue@gmail.com>
 * @package system.base
 * @since 1.0
 */
class CHttpException extends CException
{
	/**
	 * @var integer HTTP status code, such as 403, 404, 500, etc.
	 */
	public $statusCode;

	/**
	 * Constructor.
	 * @param integer $status HTTP status code, such as 404, 500, etc.
	 * @param string $message error message
	 * @param integer $code error code
	 */
	public function __construct($status,$message=null,$code=0)
	{
		$this->statusCode=$status;
		parent::__construct($message,$code);
	}
}

Directory Contents

Dirs: 0 × Files: 17

Name Size Perms Modified Actions
31.03 KB lrw-r--r-- 2024-11-22 17:53:16
Edit Download
1.93 KB lrw-r--r-- 2024-11-22 17:53:15
Edit Download
3.24 KB lrw-r--r-- 2024-11-22 17:53:16
Edit Download
21.98 KB lrw-r--r-- 2024-11-22 17:53:16
Edit Download
1.04 KB lrw-r--r-- 2024-11-22 17:53:15
Edit Download
16.49 KB lrw-r--r-- 2024-11-22 17:53:15
Edit Download
410 B lrw-r--r-- 2024-11-22 17:53:16
Edit Download
785 B lrw-r--r-- 2024-11-22 17:53:15
Edit Download
990 B lrw-r--r-- 2024-11-22 17:53:15
Edit Download
20.01 KB lrw-r--r-- 2024-11-22 17:53:15
Edit Download
2.04 KB lrw-r--r-- 2024-11-22 17:53:16
Edit Download
1013 B lrw-r--r-- 2024-11-22 17:53:16
Edit Download
16.65 KB lrw-r--r-- 2024-11-22 17:53:15
Edit Download
17.32 KB lrw-r--r-- 2024-11-22 17:53:15
Edit Download
3.73 KB lrw-r--r-- 2024-11-22 17:53:15
Edit Download
133.94 KB lrw-r--r-- 2025-11-04 12:01:05
Edit Download
22.32 KB lrw-r--r-- 2024-11-22 17:53:15
Edit Download

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