An error that is caught with cfcatch will not cause the error template
handler to be fired unless you explicitly make that happen with a
<cfrethrow>.

If the error is occurring in the cftry block and is not caught by the
cfcatch block, or if the cfcatch block has an error, then the error
template handler specified in the cferror tag will be called.

Spike

Stephen Milligan
Team Macromedia - ColdFusion
Co-author 'Reality Macromedia ColdFusion MX: Intranets and Content
Management'
http://spikefu.blogspot.com

> -----Original Message-----
> From: Andy Hall [mailto:[EMAIL PROTECTED]] 
> Sent: 16 December 2002 16:56
> To: [EMAIL PROTECTED]
> Subject: [ cf-dev ] CFTRY error reporting
> 
> 
> Hi,
> 
> Please can somebody confirm whether the following is true:
> 
> A error occuring in a CFTRY block that is caught with 
> CFCATCH, will still throw an error, and execute the template 
> specified in a CFERROR tag defined in application.cfm.
> 
> I appreciate any reponse
> 
> cheers
> 
> Andy Hall.
> 


-- 
** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
For human help, e-mail: [EMAIL PROTECTED]

Reply via email to