thrownewNotFoundHttpException("The requested view \"$viewPath\" should start with a word char and contain word chars, forward slashes and dashes only.");
thrownewNotFoundHttpException("The requested view \"$viewName\" must start with a word character and can contain only word characters, forward slashes, dots and dashes.");
}else{
thrownewNotFoundHttpException(\Yii::t('yii','The requested view "{name}" was not found.',['name'=>$viewPath]));
thrownewNotFoundHttpException(Yii::t('yii','The requested view "{name}" was not found.',['name'=>$viewName]));