Your Rating: Results: PatheticBadOKGoodOutstanding! 0 rates

Description

A function equivalent of the cfthrow tag and is used in the <cfscript> mode.

Parameters

Same as the <cfthrow> tag.

Category

Exception handling functions, Data output functions

Function syntax

For name=value pair:

For positional notations, the sequence must be followed exactly in the same manner as provided in the syntax. If you do not provide one of the attributes, use an empty string instead.

History

ColdFusion 11: Attributes passed to this function needs to be in a comma-separated format.

ColdFusion 9: Added this function.

See also

cfscript, cfthrow, cftry, cfcatch

Usage

You can call this function by passing arguments as name=value pair or as positional arguments. For positional notations, specify the arguments in the sequence mentioned in the function syntax.

Example

From ColdFusion 11, attributes passed to this function needs to be in a comma-separated format.
Labels
  • None

Searching ColdFusion, English documentation