Before you can effectively manage ColdFusion errors, you must understand how ColdFusion classifies and handles them. ColdFusion categorizes errors as detailed in the following table:
Type | Description |
---|---|
Exception |
An error that prevents normal processing from continuing. All ColdFusion exceptions are, at their root, Java exceptions. |
Missing template |
An HTTP request for a ColdFusion page that cannot be found. Generated if a browser requests a ColdFusion page that does not exist. Missing template errors are different from missing include exceptions, which result from |
Form field data validation |
Server-side form field validation errors are a special kind of ColdFusion MX exception. You specify server-side form validation by using ColdFusion includes a built-in error page for server-side form field validation errors, and the |
Note: The onSubmit and onBlur form field validation techniques use JavaScript or Macromedia Flash validation on the client browser; this chapter does not discuss client-side validation errors.
Most ColdFusion errors are exceptions. The following sections describe them in detail.