Exception Handling Tags

namedescription
cfcatchUsed inside a cftry tag. Together, they catch and process exceptions in ColdFusion pages. Exceptions are events that disrupt the normal flow of instructions in a ColdFusion page, such as failed database operations, missing include files, and developer-specified events.
cferrorDisplays a custom HTML page when an error occurs. This lets you maintain a consistent look and feel among an application’s functional and error pages.
cffinallyUsed inside a cftry tag. Code in the cffinally block is processed after the main cftry code and, if an exception occurs, the cfcatch code. The cffinally block code always executes, whether or not there is an exception.
cfrethrowRethrows the currently active exception. Preserves the exception’s cfcatch.type and cfcatch.tagContext variable values.
cfthrowThrows a developer-specified exception, which can be caught with a cfcatch tag that has any of the following type attribute options:
cftryUsed with one or more cfcatch tags. Together, they catch and process exceptions in ColdFusion pages. Exceptions are events that disrupt the normal flow of instructions in a ColdFusion page, such as failed database operations, missing include files, and developer-specified events.