<CFTHROW MESSAGE="message">

The CFTHROW tag raises a developer-specified exception that can be caught with CFCATCH TYPE="APPLICATION" or CFCATCH TYPE="ANY".

MESSAGE

Optional. A message that describes the exceptional event.

Usage

Use CFTHROW within a CFTRY block to raise an error condition. The CFCATCH block can access this message through CFCATCH.message.