Pass parameters to exception

I tried with no success to pass parameters to Exception object. For example:


throw new CHttpException(404, 'The message', array('param1' => 'value1', 'param2' => 'value2');

Yii staff should add this functionality