catch Smarty Exception with template not found