首页
关于
下载
文档
教程
扩展
源码
问答
话题
视频
案例
排行
圈子
注册
登录
首页
文档
Yii 2.0 类参考手册
UserException, yii\base\UserException
Search
菜单
没有命名空间的类
Yii
YiiRequirementChecker
yii
BaseYii
yii\
base
Action
ActionEvent
ActionFilter
Application
ArrayAccessTrait
Arrayable
ArrayableTrait
BaseObject
Behavior
BootstrapInterface
Component
Configurable
Controller
DynamicContentAwareInterface
DynamicContentAwareTrait
DynamicModel
ErrorException
ErrorHandler
Event
Exception
ExitException
InlineAction
InvalidArgumentException
InvalidCallException
InvalidConfigException
InvalidParamException
InvalidRouteException
InvalidValueException
Model
ModelEvent
Module
NotSupportedException
Request
Response
Security
StaticInstanceInterface
StaticInstanceTrait
Theme
UnknownClassException
UnknownMethodException
UnknownPropertyException
UserException
View
ViewContextInterface
ViewEvent
ViewNotFoundException
ViewRenderer
Widget
WidgetEvent
yii\
behaviors
AttributeBehavior
AttributeTypecastBehavior
AttributesBehavior
BlameableBehavior
CacheableWidgetBehavior
OptimisticLockBehavior
SluggableBehavior
TimestampBehavior
yii\
caching
ApcCache
ArrayCache
Cache
CacheInterface
ChainedDependency
DbCache
DbDependency
DbQueryDependency
Dependency
DummyCache
ExpressionDependency
FileCache
FileDependency
MemCache
MemCacheServer
TagDependency
WinCache
XCache
ZendDataCache
yii\
captcha
Captcha
CaptchaAction
CaptchaAsset
CaptchaValidator
yii\
console
Application
Controller
ErrorHandler
Exception
ExitCode
Markdown
Request
Response
UnknownCommandException
yii\
console\
controllers
AssetController
BaseMigrateController
CacheController
FixtureController
HelpController
MessageController
MigrateController
ServeController
yii\
console\
widgets
Table
yii\
data
ActiveDataFilter
ActiveDataProvider
ArrayDataProvider
BaseDataProvider
DataFilter
DataProviderInterface
Pagination
Sort
SqlDataProvider
yii\
db
ActiveQuery
ActiveQueryInterface
ActiveQueryTrait
ActiveRecord
ActiveRecordInterface
ActiveRelationTrait
AfterSaveEvent
ArrayExpression
BaseActiveRecord
BatchQueryResult
CheckConstraint
ColumnSchema
ColumnSchemaBuilder
Command
Connection
Constraint
ConstraintFinderInterface
ConstraintFinderTrait
DataReader
DefaultValueConstraint
Exception
Expression
ExpressionBuilder
ExpressionBuilderInterface
ExpressionBuilderTrait
ExpressionInterface
ForeignKeyConstraint
IndexConstraint
IntegrityException
JsonExpression
Migration
MigrationInterface
PdoValue
PdoValueBuilder
Query
QueryBuilder
QueryExpressionBuilder
QueryInterface
QueryTrait
Schema
SchemaBuilderTrait
SqlToken
SqlTokenizer
StaleObjectException
TableSchema
Transaction
ViewFinderTrait
yii\
db\
conditions
AndCondition
BetweenColumnsCondition
BetweenColumnsConditionBuilder
BetweenCondition
BetweenConditionBuilder
ConditionInterface
ConjunctionCondition
ConjunctionConditionBuilder
ExistsCondition
ExistsConditionBuilder
HashCondition
HashConditionBuilder
InCondition
InConditionBuilder
LikeCondition
LikeConditionBuilder
NotCondition
NotConditionBuilder
OrCondition
SimpleCondition
SimpleConditionBuilder
yii\
db\
cubrid
ColumnSchemaBuilder
QueryBuilder
Schema
yii\
db\
cubrid\
conditions
LikeConditionBuilder
yii\
db\
mssql
PDO
QueryBuilder
Schema
SqlsrvPDO
TableSchema
yii\
db\
mssql\
conditions
InConditionBuilder
LikeConditionBuilder
yii\
db\
mysql
ColumnSchema
ColumnSchemaBuilder
JsonExpressionBuilder
QueryBuilder
Schema
yii\
db\
oci
ColumnSchemaBuilder
QueryBuilder
Schema
yii\
db\
oci\
conditions
InConditionBuilder
LikeConditionBuilder
yii\
db\
pgsql
ArrayExpressionBuilder
ArrayParser
ColumnSchema
JsonExpressionBuilder
QueryBuilder
Schema
yii\
db\
sqlite
ColumnSchemaBuilder
Command
QueryBuilder
Schema
SqlTokenizer
yii\
db\
sqlite\
conditions
InConditionBuilder
LikeConditionBuilder
yii\
di
Container
Instance
NotInstantiableException
ServiceLocator
yii\
filters
AccessControl
AccessRule
AjaxFilter
ContentNegotiator
Cors
HostControl
HttpCache
PageCache
RateLimitInterface
RateLimiter
VerbFilter
yii\
filters\
auth
AuthInterface
AuthMethod
CompositeAuth
HttpBasicAuth
HttpBearerAuth
HttpHeaderAuth
QueryParamAuth
yii\
grid
ActionColumn
CheckboxColumn
Column
DataColumn
GridView
GridViewAsset
RadioButtonColumn
SerialColumn
yii\
helpers
ArrayHelper
BaseArrayHelper
BaseConsole
BaseFileHelper
BaseFormatConverter
BaseHtml
BaseHtmlPurifier
BaseInflector
BaseIpHelper
BaseJson
BaseMarkdown
BaseStringHelper
BaseUrl
BaseVarDumper
Console
FileHelper
FormatConverter
Html
HtmlPurifier
Inflector
IpHelper
Json
Markdown
ReplaceArrayValue
StringHelper
UnsetArrayValue
Url
VarDumper
yii\
i18n
DbMessageSource
Formatter
GettextFile
GettextMessageSource
GettextMoFile
GettextPoFile
I18N
Locale
MessageFormatter
MessageSource
MissingTranslationEvent
PhpMessageSource
yii\
log
DbTarget
Dispatcher
EmailTarget
FileTarget
LogRuntimeException
Logger
SyslogTarget
Target
yii\
mail
BaseMailer
BaseMessage
MailEvent
MailerInterface
MessageInterface
yii\
mutex
DbMutex
FileMutex
Mutex
MysqlMutex
OracleMutex
PgsqlMutex
RetryAcquireTrait
yii\
rbac
Assignment
BaseManager
CheckAccessInterface
DbManager
Item
ManagerInterface
Permission
PhpManager
Role
Rule
yii\
rest
Action
ActiveController
Controller
CreateAction
DeleteAction
IndexAction
OptionsAction
Serializer
UpdateAction
UrlRule
ViewAction
yii\
test
ActiveFixture
ArrayFixture
BaseActiveFixture
DbFixture
FileFixtureTrait
Fixture
FixtureTrait
InitDbFixture
yii\
validators
BooleanValidator
CompareValidator
DateValidator
DefaultValueValidator
EachValidator
EmailValidator
ExistValidator
FileValidator
FilterValidator
ImageValidator
InlineValidator
IpValidator
NumberValidator
PunycodeAsset
RangeValidator
RegularExpressionValidator
RequiredValidator
SafeValidator
StringValidator
UniqueValidator
UrlValidator
ValidationAsset
Validator
yii\
web
Application
AssetBundle
AssetConverter
AssetConverterInterface
AssetManager
BadRequestHttpException
CacheSession
CompositeUrlRule
ConflictHttpException
Controller
Cookie
CookieCollection
DbSession
ErrorAction
ErrorHandler
ForbiddenHttpException
GoneHttpException
GroupUrlRule
HeaderCollection
HeadersAlreadySentException
HtmlResponseFormatter
HttpException
IdentityInterface
JqueryAsset
JsExpression
JsonParser
JsonResponseFormatter
Link
Linkable
MethodNotAllowedHttpException
MultiFieldSession
MultipartFormDataParser
NotAcceptableHttpException
NotFoundHttpException
RangeNotSatisfiableHttpException
Request
RequestParserInterface
Response
ResponseFormatterInterface
ServerErrorHttpException
Session
SessionIterator
TooManyRequestsHttpException
UnauthorizedHttpException
UnprocessableEntityHttpException
UnsupportedMediaTypeHttpException
UploadedFile
UrlManager
UrlNormalizer
UrlNormalizerRedirectException
UrlRule
UrlRuleInterface
User
UserEvent
View
ViewAction
XmlResponseFormatter
YiiAsset
yii\
widgets
ActiveField
ActiveForm
ActiveFormAsset
BaseListView
Block
Breadcrumbs
ContentDecorator
DetailView
FragmentCache
InputWidget
LinkPager
LinkSorter
ListView
MaskedInput
MaskedInputAsset
Menu
Pjax
PjaxAsset
Spaceless
Class yii\base\UserException
所有类
|
方法
继承
yii\base\UserException
»
yii\base\Exception
»
Exception
子类
yii\base\InvalidRouteException
,
yii\console\Exception
,
yii\console\UnknownCommandException
,
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
可用版本自
2.0
源码
https://github.com/yiichina/yii2/blob/api/framework/base/UserException.php
UserException 是要向终端用户显示异常的基类。 此类异常通常是由终端用户的错误引起的。
公共方法
隐藏继承的方法
方法
描述
被定义在
getName()
yii\base\Exception
×