Throw CException when not able to generate PDF. When YII_DEBUG enabled, includes command error details.