<cfthrow          type = "exception_type "          message = "message"          detail = "detail_description "          errorCode = "error_code "          extendedInfo = "additional_information ">  Syntax  2  <cfthrow object = #object_name#> 


Use this tag for error handling; when an exception is thrown, it can be caught and handled using the CFCATCH tag.


type (Optional)

Default: application, a custom type. Do not enter another predefined type; types are not generated by ColdFusion applications. If you specify application, you need not specify a type for CFCATCH.

message (Optional)

Message that describes exception event.

detail (Optional)

Description of the event.

errorCode (Optional)

A custom error code that you supply.

extendedInfo (Optional)

A custom error code that you supply.

object (Optional)

Requires the value of the CFOBJECT tag name attribute. Throws a Java exception from a CFML tag. This attribute is mutually exclusive with all other attributes of this tag.

Inside ColdFusion MX
Inside Coldfusion MX
ISBN: 0735713049
EAN: 2147483647
Year: 2005
Pages: 579 © 2008-2017.
If you may any questions please contact us: