base\Exception

Class yii\base\Exception

Inheritance yii\base\Exception » Exception
Subclasses yii\authclient\InvalidResponseException, yii\base\InvalidConfigException, yii\base\InvalidRouteException, yii\base\NotSupportedException, yii\base\UnknownClassException, yii\base\UnknownPropertyException, yii\base\UserException, yii\console\Exception, yii\console\UnknownCommandException, yii\db\Exception, yii\db\IntegrityException, yii\db\StaleObjectException, yii\di\NotInstantiableException, yii\elasticsearch\Exception, yii\httpclient\Exception, yii\mongodb\Exception, yii\web\BadRequestHttpException, yii\web\ConflictHttpException, yii\web\ForbiddenHttpException, yii\web\GoneHttpException, yii\web\HttpException, yii\web\MethodNotAllowedHttpException, yii\web\NotAcceptableHttpException, yii\web\NotFoundHttpException, yii\web\RangeNotSatisfiableHttpException, yii\web\ServerErrorHttpException, yii\web\TooManyRequestsHttpException, yii\web\UnauthorizedHttpException, yii\web\UnprocessableEntityHttpException, yii\web\UnsupportedMediaTypeHttpException, yii\web\UrlNormalizerRedirectException
Available since version 2.0
Source Code https://github.com/yiisoft/yii2/blob/master/framework/base/Exception.php

Exception represents a generic exception for all purposes.

For more details and usage information on Exception, see the guide article on handling errors.

Public Methods

Method Description Defined By
getName() yii\base\Exception

Method Details

getName() public method

public string getName ( )
return string

The user-friendly name of this exception

© 2008–2017 by Yii Software LLC
Licensed under the three clause BSD license.
http://www.yiiframework.com/doc-2.0/yii-base-exception.html

在线笔记
App下载
App下载

扫描二维码

下载编程狮App

公众号
微信公众号

编程狮公众号

意见反馈
返回顶部