Class CHttpException
CHttpException represents an exception caused by invalid operations of end-users.
The HTTP error code can be obtained via CHttpException::$statusCode
. Error handlers
may use this status code to decide how to format the error page.
- Exception
- CException
- CHttpException
Package: system\base
Copyright: 2008-2013 Yii Software LLC
License: http://www.yiiframework.com/license/
Author: Qiang Xue <qiang.xue@gmail.com>
Since: 1.0
Located at x2engine/framework/base/CHttpException.php
Copyright: 2008-2013 Yii Software LLC
License: http://www.yiiframework.com/license/
Author: Qiang Xue <qiang.xue@gmail.com>
Since: 1.0
Located at x2engine/framework/base/CHttpException.php
public
|
__toString(),
__wakeup(),
getCode(),
getFile(),
getLine(),
getMessage(),
getPrevious(),
getTrace(),
getTraceAsString()
|
public
integer
|
$statusCode |
|
#
HTTP status code, such as 403, 404, 500, etc. |
$code,
$file,
$line,
$message
|