title: How to Generate 404 error forcefully in Yii
body: <p>I am using Yii framework and i want to generate <code>404</code> error if no recode found in database.
  Is there any smart way so that <code>Yii default error handler</code> should be invoked.</p>
  
  <p>thanks in advance.</p>