yii2异常怎么捕获yii中所有异常都是继承于Exception,捕获异常有两种写法a文件: function a() {throw new yiiwebHttpException(我是数据库异常);}b文件:u