<CFTHROW 
    TYPE="exception_type"
    MESSAGE="message"
    DETAIL="detail_description"
    ERRORCODE="error_code"
    EXTENDEDINFO="additional_information">

The CFTHROW tag raises a developer-specified exception that can be caught with CFCATCH tag having any of the following type specifications:

TYPE

Optional. A custom type or the predefined type APPLICATION. None of the other predefined types should be specified because these types are not generated by ColdFusion applications. If you specify the exception type APPLICATION, you need not specify a type for CFCATCH, because the APPLICATION type is the default CFCATCH type.

MESSAGE

Optional. A message that describes the exceptional event.

DETAIL

Optional. A detailed description of the event. The ColdFusion server appends the position of the error to this description; the server uses this parameter if an error is not caught by your code.

ERRORCODE

Optional. A custom error code that you supply.

EXTENDEDINFO

Optional. A custom error code that you supply.