Smarty in version 2 does not support SmartyException yet