This section discusses the following topics:
try
/catch
or cftry
/cfcatch
blocks and the cfthrow
and cfrethrow
tags to handle and generate exceptionsThe technique you use depends on the circumstances of your function and application and on your preferred programming style. However, most functions should use the second or third technique, or a combination of the two. The following sections discuss the uses, advantages, and disadvantages of each technique, and provides examples of their use.