May be anybody knows how to disable Yii exception and use my personal exception just in one controller
try {
$model= Aricle::model();
if (!$Article) {
throw new Exception("Could not open the file!");
}
} catch (Exception $e){
$row=$e->getMessage();
}
here i just want to set up var, nothing more, no html ,nothing
Yii always start his exception in both modes,debug and product