Resources on Structured Exception Handling
Anybody point the direction for resources on best practices for Structured Exception Handling (in general and CF) Cheers DC ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Get the mailserver that powers this list at http://www.coolfusion.com Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Resources on Structured Exception Handling
Anybody point the direction for resources on best practices for Structured Exception Handling (in general and CF) Simon Horwith wrote a pretty exhaustive article on the ins and outs of this topic. You can check it out on his site under Papers. http://www.how2cf.com/ Regards, Dave. _ The new MSN 8: advanced junk mail protection and 2 months FREE* http://join.msn.com/?page=features/junkmail ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Resources on Structured Exception Handling
Cheers Dave, Looking at it now :-) From: Dave Carabetta [mailto:[EMAIL PROTECTED] Subject: Re: Resources on Structured Exception Handling Anybody point the direction for resources on best practices for Structured Exception Handling (in general and CF) Simon Horwith wrote a pretty exhaustive article on the ins and outs of this topic. You can check it out on his site under Papers. http://www.how2cf.com/ ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Structured Exception Handling
Now that we've covered the Request Scope. What exactly is Structured Exception Handling? It's listed in the docs as 'new in CF 4.5' but I cannot find any other information about it. Since I have limited experience with error handling in version 4.0 and no experience with any versions prior to that, I'm not sure they are referring to. From the docs: /CFDOCS/Using_ColdFusion_Studio/00_Welcome_to_ColdFusion_Studio/preface5.htm Structured Exception Handling -- Exception handling now offers hierarchical exception handling that supports both greater customization and greater access to internal exceptions. Are they referring to a new use of the CFTHROW/CFCATCH/CFTRY tags? Are any of the previous tags new to version 4.5? -- Jeff Houser | mailto:[EMAIL PROTECTED] AIM: Reboog711 | ICQ: 5246969 | Phone: 860-229-2781 -- Instant Cold Fusion 4.5 | ISBN: 0-07-213238-8 Due out 3rd Quarter 2001 -- DotComIt, LLC database driven web data using ColdFusion, Lotus Notes/Domino -- Half of the Alternative Folk Acoustic Duo called Far Cry Fly http://www.farcryfly.com | http://www.mp3.com/FarCryFly -- Promise me no dead end streets, and I'll guarantee we'll have a road ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Re: Structured Exception Handling
The new "Structured" exception handling allows you to set up a "global" error handler (in your Application.cfm file) that is triggered for "errors and/or exceptions". You can specify an error template that will have access to all the CF tags/functions in addition to the "standard" error messages that will be triggered by both "regular" errors, and/or errors "caught" by CFTRY/CFCATCH. umm... maybe my (8 page) explanation at chfub is better? http://cfhub.com/advanced/error_handling/ What exactly is Structured Exception Handling? It's listed in the docs as 'new in CF 4.5' but I cannot find any other information about it. ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Re: Structured Exception Handling
Cool site, I didn't know of the cfhub site. Thanks. Although, I'm curious what is different in those pages than something I would have been able to implement in CF 4.0. Did the CFERROR tag not exist in previous versions? What makes error handling 'structured' vs 'unstructured'? Or am I just being way too anal about terminology? Joseph Thompson wrote: The new "Structured" exception handling allows you to set up a "global" error handler (in your Application.cfm file) that is triggered for "errors and/or exceptions". You can specify an error template that will have access to all the CF tags/functions in addition to the "standard" error messages that will be triggered by both "regular" errors, and/or errors "caught" by CFTRY/CFCATCH. umm... maybe my (8 page) explanation at chfub is better? http://cfhub.com/advanced/error_handling/ What exactly is Structured Exception Handling? It's listed in the docs as 'new in CF 4.5' but I cannot find any other information about it. ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Re: Structured Exception Handling
Now the CFERROR tag allows you to specify a template that can actually "Run" Cold Fusion tags and functions. This is not the case for the 4.0 version of the tag. In previous versions you are limited to these "variables" Standard CFERROR variables: Error.Diagnostics Error.MailTo Error.DateTime Error.Browser Error.RemoteAddress Error.HTTPReferer Error.Template Error.QueryString I guess what makes it "Structured" is the fact that you can specify the "exception" you want to handle? Cool site, I didn't know of the cfhub site. Thanks. Although, I'm curious what is different in those pages than something I would have been able to implement in CF 4.0. Did the CFERROR tag not exist in previous versions? What makes error handling 'structured' vs 'unstructured'? Or am I just being way too anal about terminology? Joseph Thompson wrote: The new "Structured" exception handling allows you to set up a "global" error handler (in your Application.cfm file) that is triggered for "errors and/or exceptions". You can specify an error template that will have access to all the CF tags/functions in addition to the "standard" error messages that will be triggered by both "regular" errors, and/or errors "caught" by CFTRY/CFCATCH. umm... maybe my (8 page) explanation at chfub is better? http://cfhub.com/advanced/error_handling/ What exactly is Structured Exception Handling? It's listed in the docs as 'new in CF 4.5' but I cannot find any other information about it. ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists