HTML and CFML</cfcatch> <cfcatch type="
HTML and CFML</cfcatch> ... </cftry>
and processes predefined and developer-specified exceptions within
ColdFusion templates. The
cfcatch tags allow you to
handle exceptions in your templates gracefully, without having to
abort processing. Exceptions occurring within
cfcatch blocks can’t be handled
by the same
cftry block governing the
cfcatch block. At least one
cfcatch block must be nested within a
cfcatch tags are
processed in the order in which they are coded within a template.
Specifies the type of exception to trap. Valid entries are:
Catches application-level exceptions defined using the
Application type in the
Catches unexpected exceptions. In versions of ColdFusion prior to MX,
it was recommended that this exception type be coded as the last
cfcatch within a
This is no longer the case in ColdFusion MX.
Catches developer-specified exceptions as defined with the
Catches exceptions raised when interacting with data sources.
Catches exceptions that occur when an expression’s evaluation results in an error.
Catches exceptions associated with the
such as timeouts, etc.
Catches exceptions that occur when an included template isn’t found. This exception type covers exceptions ...