Overview ColdFusion Open BlueDragon Lucee

Used inside a cftry tag. Together, they catch and process exceptions in CFML pages. Exceptions are events that disrupt the normal flow of instructions in a CFML page, such as failed database operations, missing include files, and developer-specified events.


Name Required Type Default Description
name No String Variable name for cfcatch exception
type No String * application: catches application exceptions * database: catches database exceptions * template: catches ColdFusion page exceptions * security: catches security exceptions * object: catches object exceptions * missingInclude: catches missing include file exceptions * expression: catches expression exceptions * lock: catches lock exceptions * custom_type: catches the specified custom exception type that is defined in a cfthrow tag * searchengine: catches Solr search engine exceptions * any: catches all exception types