By default, ColdFusion generates its own error messages when it encounters errors. In addition, it provides a variety of tools and techniques for you to customize error information and handle errors when they occur. You can use any of the following error-management techniques:
You specify these pages on the ColdFusion MX Administrator Server Settings page. For more information on specifying custom error pages in the Administrator, see the Administrator Help.
cferror
tag to specify ColdFusion pages to handle specific types of errors.cflog
tag to log other errors.cftry
, cfcatch
, cfthrow
, and cfrethrow
tags to catch and handle exception errors directly on the page where they occur.try
and catch
statements to handle exceptions.The remaining sections in this chapter provide the following information:
cferror
tag to specify error-handling pagesNote: This chapter discusses using the cftry
and cfcatch
tags, but not the equivalent CFScript try
and catch
statements. The general discussion of exception handling in this chapter applies to tags and CFScript statements. However, the code that you use and the information available in CFScript differs from those in the tags. For more information on handling exceptions in CFScript, see "Handling errors in UDFs," in Chapter 9 .