Macromedia ColdFusion MX 7 Certified Developer Study Guide

<cferror> and <cftry> Together

If you use a <cftry>/<cfcatch> block to catch an exception, the <cferror> tag does not do its job and fails to redirect processing to the error template. The <cftry>/<cfcatch> block makes it seem that an exception did not occur. In essence, the <cftry> "overrides" the <cferror>.

Категории