Name

CFRETHROW — New as of ColdFusion 4.5

Synopsis

<CFTRY>
  CFML
<CFCATCH TYPE="exception_type">
  HTML and CFML
  <CFTRY>
    CFML
    <CFCATCH TYPE="exception_type">
      HTML and CFML
      <CFRETHROW>
    </CFCATCH>
</CFCATCH>
<CFCATCH TYPE="Any">
HTML and CFML
</CFCATCH>
</CFTRY>

Used within a CFCATCH block to rethrow the active exception while preserving the CFCATCH.Type and CFCATCH.TagContext return variables. This tag takes no additional attributes.

Get Programming ColdFusion now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.